14 lines
273 B
Go
14 lines
273 B
Go
package models
|
|
|
|
import "github.com/uptrace/bun"
|
|
|
|
type Guild struct {
|
|
bun.BaseModel `bun:"table:guild"`
|
|
|
|
Id int64 `bun:"id,pk,autoincrement"`
|
|
DcId string `bun:"dc_id,unique"`
|
|
Name string `bun:"name,notnull"`
|
|
|
|
AutoRoleLogChanId string `bun:"auto_role_log_chan_id"`
|
|
}
|