Feat: add more tests
This commit is contained in:
@@ -6,7 +6,7 @@ type Alias struct {
|
||||
bun.BaseModel `bun:"table:alias"`
|
||||
|
||||
Id int64 `bun:"id,pk,autoincrement"`
|
||||
Name string `bun:"name,notnull"`
|
||||
Name string `bun:"name,unique"`
|
||||
|
||||
Images []Image `bun:"m2m:alias_image,join:Alias=Image"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user