Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Unified Diff: database/migrate.py

Issue 1595019: Merge remote branch 'origin/upstream' into tempbranch (Closed)
Patch Set: Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/tests/profiler_sync/profiler_sync.py ('k') | database/schema_051.sql » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()
« no previous file with comments | « client/tests/profiler_sync/profiler_sync.py ('k') | database/schema_051.sql » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698