diff options
author | rubenwardy <rw@rubenwardy.com> | 2018-05-23 18:19:29 +0100 |
---|---|---|
committer | rubenwardy <rw@rubenwardy.com> | 2018-05-23 18:19:29 +0100 |
commit | a0814f4792f92bcba0b38a60e6d876a924798008 (patch) | |
tree | 288c4c9363e8b5e066d4cde068bd5d7a37f2e539 /migrations/env.py | |
parent | 73a7ebc352878676522144835afb6e22c8cef1c3 (diff) | |
download | cheatdb-a0814f4792f92bcba0b38a60e6d876a924798008.tar.xz |
Increase task_id column length
Diffstat (limited to 'migrations/env.py')
-rwxr-xr-x | migrations/env.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/migrations/env.py b/migrations/env.py index 23663ff..e5b9792 100755 --- a/migrations/env.py +++ b/migrations/env.py @@ -41,7 +41,7 @@ def run_migrations_offline(): """ url = config.get_main_option("sqlalchemy.url") - context.configure(url=url) + context.configure(url=url, compare_type=True) with context.begin_transaction(): context.run_migrations() @@ -73,6 +73,7 @@ def run_migrations_online(): context.configure(connection=connection, target_metadata=target_metadata, process_revision_directives=process_revision_directives, + compare_type=True, **current_app.extensions['migrate'].configure_args) try: |