Commits

Guido Draheim  committed ae71840

remember db.version number in db module

  • Participants
  • Parent commits 76e9e36

Comments (0)

Files changed (2)

File src/dvbcronrecording/db/version.py

+number = 4

File src/dvbcronrecording/init.py

 
 from trac.core import Component, implements
 from trac.env import IEnvironmentSetupParticipant
+import db.version
 
 # Last guestbooks database schema version
-last_db_version = 4
+last_db_version = db.version.number
 name_db_version = 'dvbcronrecording_version'
 name_db_version_old = 'simplerecorder_version'
 PACKAGE = "dvbcronrecording"