summaryrefslogtreecommitdiff
path: root/model/migrations
AgeCommit message (Collapse)Author
2024-10-13Introduce xengineering.eu/ceres/model/migrationsxengineering
This new package is only for database migrations. All data for Ceres should be stored inside the SQLite3 database. Thus migrations can always be executed with functions with the following signature. func(tx *sql.Tx) error Those migration functions should be stored inside the new package. Bigger SQL code can be stored in *.sql files for better syntax highlighting. This code is embedded into the final Go executable by using the embed package.