Project

General

Profile

Feature #1584

Track needed and actual database version

Added by Alexander Watzinger 2 months ago. Updated 28 days ago.

Status:
Closed
Priority:
Normal
Category:
Backend
Target version:
Start date:
2021-10-01
Estimated time:

Description

The database is now "aware" of it's own version in table web.settings with value database_version.
Additional the software knows which database version is needed, stored in config.py as DATABASE_VERSION.
The application will display a warning on every site for managers if they are not the same.

From now on with every upgrade that requires database changes (executing an upgrade SQL script) the "needed" database version will be updated to the current software version in:
  • The code (DATABASE_VERSION in config.py)
  • The update SQL script
  • The installation SQL script

History

#1

Updated by Alexander Watzinger 28 days ago

  • Subject changed from Tracking version of database, checks against needed version to Track needed and actual database version
#2

Updated by Alexander Watzinger 28 days ago

  • Assignee set to Alexander Watzinger
  • Status changed from Acknowledged to Closed
  • Description updated (diff)

Also available in: Atom PDF