diff options
author | xengineering <me@xengineering.eu> | 2024-10-13 20:34:29 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-10-15 20:25:38 +0200 |
commit | 1904f50084660ce587a67d49939fd0734fd8a582 (patch) | |
tree | eda737f7fa845866fd4401ef443df0cdda92539f /model/migrations/migration001.sql | |
parent | 5ca945112b5cd7c92eb3b9da81597fcba5256b56 (diff) | |
download | ceres-1904f50084660ce587a67d49939fd0734fd8a582.tar ceres-1904f50084660ce587a67d49939fd0734fd8a582.tar.zst ceres-1904f50084660ce587a67d49939fd0734fd8a582.zip |
model: Handle schema versions internally by integers
This references the database schemas known from the past with integer
values internally. 0 is used for an empty database and 1 for what was
used in ceres version 0.4.0.
The old approach to write the `git describe` output into the database
worked well for released versions but was problematic during
development. A numerical and separate database schema versioning is
easier to handle.
Diffstat (limited to 'model/migrations/migration001.sql')
0 files changed, 0 insertions, 0 deletions