Project

General

Profile

Actions

Feature #1584

closed

Track needed and actual database version

Added by Alexander Watzinger over 2 years ago. Updated over 2 years 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
Actions #1

Updated by Alexander Watzinger over 2 years ago

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

Updated by Alexander Watzinger over 2 years ago

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

Also available in: Atom PDF