All table column names went into consts

This commit is contained in:
Simon Martens
2025-02-07 22:12:40 +01:00
parent 706349e748
commit f4cbb037e0
10 changed files with 234 additions and 104 deletions

View File

@@ -15,7 +15,7 @@ func init() {
return app.Save(collections)
}, func(app core.App) error {
collection, err := app.FindCollectionByNameOrId(relationTableName(models.PARTIALS_TABLE, models.AGENTS_TABLE))
collection, err := app.FindCollectionByNameOrId(models.RelationTableName(models.PARTIALS_TABLE, models.AGENTS_TABLE))
if err != nil {
return nil
}