Check that postgres database has correct charset set

This commit is contained in:
Erik Johnston committed 2015-04-29 11:42:28 +01:00
1 parent 478e511db0
commit 204132a998
6 files changed
+47 -1

No files matched your search

+4
View File
@@ -283,6 +283,10 @@ class Porter(object):
self.sqlite_store = Store(sqlite_db_pool, sqlite_engine)
self.postgres_store = Store(postgres_db_pool, postgres_engine)
yield self.postgres_store.execute(
postgres_engine.check_database
)
# Step 1. Set up databases.
self.progress.set_state("Preparing SQLite3")
self.setup_db(sqlite_config, sqlite_engine)