Init: bootstrap go module with basic framework
This commit is contained in:
13
models/guild.go
Normal file
13
models/guild.go
Normal file
@@ -0,0 +1,13 @@
|
||||
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"`
|
||||
}
|
||||
Reference in New Issue
Block a user