Opened 12 years ago

Last modified 8 years ago

#34 new enhancement

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

Reported by: Kris Deugau Owned by:
Priority: minor Milestone: 2.0
Version: Keywords:
Cc:

Description

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 by Kris Deugau, 12 years ago

(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 by Kris Deugau, 8 years ago

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