Opened 7 years ago

Last modified 3 years ago

#34 new enhancement

Add some magic to automagically initialize and auto-upgrade the DB

Reported by: kdeugau Owned by:
Priority: minor Milestone: 2.0
Version: Keywords:


If the dbversion value retrieved from the misc table is lower than the software version, we need to upgrade one or more tables since higher versions may have features that depend on extra columns or new tables.

If nothing is retrieved, initialize the database.

If the dbversion is higher, (or at least, in the same major version), we're good since the DB changes should be limited to adding columns or tables, and the SQL *should*, by now, be smart enough to not care about the extra columns.

Change History (2)

comment:1 Changed 7 years ago by kdeugau

(In [212]) /trunk

Begin setting up the barest sketch of what will eventually become
a complete automagical DB init/upgrade feature. See #34.

comment:2 Changed 3 years ago by kdeugau

  • Milestone set to 2.0
Note: See TracTickets for help on using tickets.