Feat: add more tests

This commit is contained in:
ytshih committed 2025-12-07 23:59:24 +08:00
1 parent 1f313fc17d
commit f191aef810
17 files changed
+307 -25

No files matched your search

+1 -1
View File
@@ -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"`
}