add storage types
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
package model
|
package model
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"backend/database/fields"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -17,6 +18,6 @@ type Storages struct {
|
|||||||
UpdatedAt time.Time `json:"updated_at"`
|
UpdatedAt time.Time `json:"updated_at"`
|
||||||
IsDefault bool `json:"is_default"`
|
IsDefault bool `json:"is_default"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Type int16 `json:"type"`
|
Type fields.StorageType `json:"type"`
|
||||||
Config string `json:"config"`
|
Config string `json:"config"`
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,3 +11,6 @@ types:
|
|||||||
|
|
||||||
user_oauths:
|
user_oauths:
|
||||||
channel: AuthChannel
|
channel: AuthChannel
|
||||||
|
|
||||||
|
storages:
|
||||||
|
type: StorageType
|
||||||
|
|||||||
Reference in New Issue
Block a user