Exemplo n.º 1
0
 def upgrade(self, conn):
     """
     If the database version is not at least one, it will upgrade it to the 
     version one database
     """
     self._upgrade(db.getDBVersion(conn), conn)
Exemplo n.º 2
0
 def upgrade(self, conn):
     self._upgrade(db.getDBVersion(conn), conn)
Exemplo n.º 3
0
 def incrementDBVerson(self, conn):
     """
     Increments the version of the database by one.
     """
     version = db.getDBVersion(conn)
     db.execute(conn, "UPDATE version SET number = ?", [version+1])