mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-28 01:02:13 +00:00
added blobstore and capability packages
This commit is contained in:
9
server/blobstore/blobsql/blob.go
Normal file
9
server/blobstore/blobsql/blob.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package blobsql
|
||||
|
||||
type Blob struct {
|
||||
ID int64 `meddler:"blob_id,pk" orm:"column(blob_id);pk;auto"`
|
||||
Path string `meddler:"blob_path" orm:"column(blob_path);size(2000);unique"`
|
||||
Data string `meddler:"blob_data,gobgzip" orm:"column(blob_data);type(text)"`
|
||||
}
|
||||
|
||||
func (b *Blob) TableName() string { return "blobs" }
|
||||
Reference in New Issue
Block a user