Make sure MigrationManagers always get Unicode names.
If we fail to do this, SQLAlchemy complains that we're binding a non-Unicode value to a Unicode column.
This commit is contained in:
@@ -52,7 +52,7 @@ def gather_database_data(media_types):
|
||||
|
||||
managed_dbdata.append(
|
||||
DatabaseData(
|
||||
'__main__', MAIN_MODELS, MAIN_MIGRATIONS))
|
||||
u'__main__', MAIN_MODELS, MAIN_MIGRATIONS))
|
||||
|
||||
# Then get all registered media managers (eventually, plugins)
|
||||
for media_type in media_types:
|
||||
|
||||
Reference in New Issue
Block a user