Fix oversight when creating a new database

This commit is contained in:
blitzmann
2015-07-03 14:18:11 -04:00
parent dd48815f30
commit 3de6b63325
2 changed files with 12 additions and 8 deletions

View File

@@ -55,4 +55,4 @@ else:
# If database does not exist, do not worry about migration. Simply
# create and set version
eos.db.saveddata_meta.create_all()
eos.db.saveddata_engine.execute('PRAGMA user_version = %d'%config.dbversion)
eos.db.saveddata_engine.execute('PRAGMA user_version = {}'.format(migration.getAppVersion()))