made an api test for route setupcheck

This commit is contained in:
2025-01-03 15:50:56 +01:00
parent 845fe6111b
commit c3009c59c4
4 changed files with 107 additions and 24 deletions
+1 -1
View File
@@ -20,6 +20,7 @@ func SaveCharacterToDB(character *Char) error {
}
func MigrateStructure() error {
err := database.DB.AutoMigrate(
&Char{},
&Eigenschaft{},
&Lp{},
&Ap{},
@@ -27,7 +28,6 @@ func MigrateStructure() error {
&Merkmale{},
&Erfahrungsschatz{},
&Bennies{},
&Char{},
)
if err != nil {
return err