Add quota and limit for events
Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
@@ -20,6 +20,8 @@ type Event struct {
|
||||
Thumbnail string `json:"thumbnail" gorm:"type:varchar(255)"`
|
||||
Owner uuid.UUID `json:"owner" gorm:"type:uuid;index;not null"`
|
||||
EnableKYC bool `json:"enable_kyc" gorm:"not null"`
|
||||
Quota int64 `json:"quota" gorm:"not null"`
|
||||
Limit int64 `json:"limit" gorm:"not null"`
|
||||
}
|
||||
|
||||
type EventIndexDoc struct {
|
||||
|
||||
Reference in New Issue
Block a user