summaryrefslogtreecommitdiff
path: root/view/recipes.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2024-10-13 14:08:26 +0200
committerxengineering <me@xengineering.eu>2024-10-13 18:54:18 +0200
commited19b82335345833c5b8f5446237d559a3657a35 (patch)
tree54420d0b49249840477a43b222ff0eb6e49cb698 /view/recipes.go
parent9d3a5fb85dc02e87fab879855c4c3bace5f753f2 (diff)
downloadceres-ed19b82335345833c5b8f5446237d559a3657a35.tar
ceres-ed19b82335345833c5b8f5446237d559a3657a35.tar.zst
ceres-ed19b82335345833c5b8f5446237d559a3657a35.zip
Introduce xengineering.eu/ceres/model/migrations
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.
Diffstat (limited to 'view/recipes.go')
0 files changed, 0 insertions, 0 deletions