Opened 13 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.
Note:
See TracTickets
for help on using tickets.
(In [212]) /trunk