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)
def upgrade(self, conn): self._upgrade(db.getDBVersion(conn), conn)
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])