Index: database/migrate.py |
diff --git a/database/migrate.py b/database/migrate.py |
index 4f3e02da5d725a19211388ecfa3e05ffd3b7d967..7117242619f22e4b03cddbbaa650d069a94822a6 100755 |
--- a/database/migrate.py |
+++ b/database/migrate.py |
@@ -203,6 +203,8 @@ class MigrationManager(object): |
migration_script = utils.read_file( |
os.path.join(os.path.dirname(__file__), 'schema_051.sql')) |
+ migration_script = migration_script % ( |
+ dict(username=self._database.get_database_info()['username'])) |
self.execute_script(migration_script) |
self.create_migrate_table() |