- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for level1_level2s (0.6 sec)
-
tests/preload_suits_test.go
ID uint Name string } Level1 struct { ID uint Name string Level2s []Level2 `gorm:"many2many:level1_level2s"` } ) DB.Migrator().DropTable("level1_level2s", &Level2{}, &Level1{}) if err := DB.AutoMigrate(new(Level1), new(Level2)); err != nil { t.Error(err) } lvl := Level1{ Name: "l1", Level2s: []Level2{
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Fri Mar 18 05:38:46 UTC 2022 - 30.3K bytes - Viewed (0)