Documentation
¶
Overview ¶
Package gormbind binds the persistence-free domain models of the models module to GORM. It is the only place in the module allowed to import gorm.io/gorm, keeping the root models package stdlib-only while still exposing a single canonical migration list shared by the backend and any other consumer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoMigrate ¶
AutoMigrate runs gorm's AutoMigrate over MigrateModels().
func MigrateModels ¶
func MigrateModels() []any
MigrateModels returns the canonical migration list, same order as backend/internal/database uses today: Group, API, Parameter.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.