From 7a08a6b548e39a477aaf49b6213a2e06a0f3498a Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Tue, 10 Mar 2020 22:29:19 +0100 Subject: cleaned imports --- .../versions/16f8fc3cf0cc_add_column_webpage_in_the_user_table.py | 2 +- .../versions/17dcb75f3fe_changed_the_type_of_the_column_last_.py | 6 ++++-- migrations/versions/19bdaa6208e_add_icon_column.py | 2 +- .../versions/1b750a389c22_remove_email_notification_column.py | 5 +++-- migrations/versions/2472eddbf44b_update_of_the_user_model.py | 2 +- .../versions/25ca960a207_mv_icons_from_feed_tbl_to_icon_tbl.py | 2 +- migrations/versions/2c5cc05216fa_adding_tag_handling_capacities.py | 2 +- .../3f83bfe93fc_add_updated_date_column_to_article_table.py | 2 +- migrations/versions/422da2d0234_adding_filters_field.py | 2 +- migrations/versions/48f561c0ce6_add_column_entry_id.py | 5 +++-- .../versions/5553a6c05fa7_add_column_twitter_in_the_user_table.py | 2 +- migrations/versions/661199d8768a_problem_with_the_last_upgrade.py | 2 +- .../versions/8bf5694c0b9e_add_column_automatic_crawling_to_the_.py | 2 +- .../versions/957d4c5b8ac9_add_column_is_public_profile_to_the_.py | 2 +- .../versions/ac35c979311a_removed_activation_key_from_the_user_.py | 2 +- .../versions/b329a1a7366f_add_new_tables_for_the_bookmarks_and_.py | 3 ++- .../versions/bdd38bd755cb_remove_email_attribute_from_users_.py | 2 +- .../versions/be2b8b6f33dd_add_column_private_to_the_feeds_table.py | 2 +- .../versions/cde34831ea_adding_feed_and_user_attributes_for_.py | 5 +++-- .../versions/f700c4237e9d_remove_refresh_rate_column_from_the_.py | 2 +- migrations/versions/fa10b0bdd045_add_bio_column_to_user_table.py | 2 +- 21 files changed, 31 insertions(+), 25 deletions(-) (limited to 'migrations/versions') diff --git a/migrations/versions/16f8fc3cf0cc_add_column_webpage_in_the_user_table.py b/migrations/versions/16f8fc3cf0cc_add_column_webpage_in_the_user_table.py index 1bfca7d0..c44e778f 100644 --- a/migrations/versions/16f8fc3cf0cc_add_column_webpage_in_the_user_table.py +++ b/migrations/versions/16f8fc3cf0cc_add_column_webpage_in_the_user_table.py @@ -12,8 +12,8 @@ down_revision = "957d4c5b8ac9" branch_labels = None depends_on = None -from alembic import op import sqlalchemy as sa +from alembic import op def upgrade(): diff --git a/migrations/versions/17dcb75f3fe_changed_the_type_of_the_column_last_.py b/migrations/versions/17dcb75f3fe_changed_the_type_of_the_column_last_.py index 0da32e20..b81e4520 100644 --- a/migrations/versions/17dcb75f3fe_changed_the_type_of_the_column_last_.py +++ b/migrations/versions/17dcb75f3fe_changed_the_type_of_the_column_last_.py @@ -11,9 +11,11 @@ revision = "17dcb75f3fe" down_revision = "cde34831ea" from datetime import datetime -import conf -from alembic import op + import sqlalchemy as sa +from alembic import op + +import conf def upgrade(): diff --git a/migrations/versions/19bdaa6208e_add_icon_column.py b/migrations/versions/19bdaa6208e_add_icon_column.py index 95274b63..45e3dcc2 100644 --- a/migrations/versions/19bdaa6208e_add_icon_column.py +++ b/migrations/versions/19bdaa6208e_add_icon_column.py @@ -10,8 +10,8 @@ Create Date: 2015-07-03 12:09:58.596010 revision = "19bdaa6208e" down_revision = "422da2d0234" -from alembic import op import sqlalchemy as sa +from alembic import op def upgrade(): diff --git a/migrations/versions/1b750a389c22_remove_email_notification_column.py b/migrations/versions/1b750a389c22_remove_email_notification_column.py index 34021deb..a1466668 100644 --- a/migrations/versions/1b750a389c22_remove_email_notification_column.py +++ b/migrations/versions/1b750a389c22_remove_email_notification_column.py @@ -10,9 +10,10 @@ Create Date: 2015-02-25 23:01:07.253429 revision = "1b750a389c22" down_revision = "48f561c0ce6" -import conf -from alembic import op import sqlalchemy as sa +from alembic import op + +import conf def upgrade(): diff --git a/migrations/versions/2472eddbf44b_update_of_the_user_model.py b/migrations/versions/2472eddbf44b_update_of_the_user_model.py index 0a39c943..46d5b151 100644 --- a/migrations/versions/2472eddbf44b_update_of_the_user_model.py +++ b/migrations/versions/2472eddbf44b_update_of_the_user_model.py @@ -12,8 +12,8 @@ down_revision = "ac35c979311a" branch_labels = None depends_on = None -from alembic import op import sqlalchemy as sa +from alembic import op def upgrade(): diff --git a/migrations/versions/25ca960a207_mv_icons_from_feed_tbl_to_icon_tbl.py b/migrations/versions/25ca960a207_mv_icons_from_feed_tbl_to_icon_tbl.py index ef54259a..361804f3 100644 --- a/migrations/versions/25ca960a207_mv_icons_from_feed_tbl_to_icon_tbl.py +++ b/migrations/versions/25ca960a207_mv_icons_from_feed_tbl_to_icon_tbl.py @@ -10,8 +10,8 @@ Create Date: 2015-08-03 14:36:21.626411 revision = "25ca960a207" down_revision = "19bdaa6208e" -from alembic import op import sqlalchemy as sa +from alembic import op import conf diff --git a/migrations/versions/2c5cc05216fa_adding_tag_handling_capacities.py b/migrations/versions/2c5cc05216fa_adding_tag_handling_capacities.py index 299cca08..02d16918 100644 --- a/migrations/versions/2c5cc05216fa_adding_tag_handling_capacities.py +++ b/migrations/versions/2c5cc05216fa_adding_tag_handling_capacities.py @@ -12,8 +12,8 @@ down_revision = "be2b8b6f33dd" branch_labels = None depends_on = None -from alembic import op import sqlalchemy as sa +from alembic import op def upgrade(): diff --git a/migrations/versions/3f83bfe93fc_add_updated_date_column_to_article_table.py b/migrations/versions/3f83bfe93fc_add_updated_date_column_to_article_table.py index 1be2abed..3b49829b 100644 --- a/migrations/versions/3f83bfe93fc_add_updated_date_column_to_article_table.py +++ b/migrations/versions/3f83bfe93fc_add_updated_date_column_to_article_table.py @@ -10,8 +10,8 @@ Create Date: 2016-02-12 21:51:40.868539 revision = "3f83bfe93fc" down_revision = "25ca960a207" -from alembic import op import sqlalchemy as sa +from alembic import op def upgrade(): diff --git a/migrations/versions/422da2d0234_adding_filters_field.py b/migrations/versions/422da2d0234_adding_filters_field.py index e7a35118..30c6b0b2 100644 --- a/migrations/versions/422da2d0234_adding_filters_field.py +++ b/migrations/versions/422da2d0234_adding_filters_field.py @@ -10,8 +10,8 @@ Create Date: 2015-05-18 23:03:15.809549 revision = "422da2d0234" down_revision = "17dcb75f3fe" -from alembic import op import sqlalchemy as sa +from alembic import op def upgrade(): diff --git a/migrations/versions/48f561c0ce6_add_column_entry_id.py b/migrations/versions/48f561c0ce6_add_column_entry_id.py index 11148e8d..35117965 100644 --- a/migrations/versions/48f561c0ce6_add_column_entry_id.py +++ b/migrations/versions/48f561c0ce6_add_column_entry_id.py @@ -12,9 +12,10 @@ down_revision = None branch_labels = None depends_on = None -import conf -from alembic import op import sqlalchemy as sa +from alembic import op + +import conf def upgrade(): diff --git a/migrations/versions/5553a6c05fa7_add_column_twitter_in_the_user_table.py b/migrations/versions/5553a6c05fa7_add_column_twitter_in_the_user_table.py index e7ef9b38..d40477f1 100644 --- a/migrations/versions/5553a6c05fa7_add_column_twitter_in_the_user_table.py +++ b/migrations/versions/5553a6c05fa7_add_column_twitter_in_the_user_table.py @@ -12,8 +12,8 @@ down_revision = "f700c4237e9d" branch_labels = None depends_on = None -from alembic import op import sqlalchemy as sa +from alembic import op def upgrade(): diff --git a/migrations/versions/661199d8768a_problem_with_the_last_upgrade.py b/migrations/versions/661199d8768a_problem_with_the_last_upgrade.py index 0989a892..04a5ac87 100644 --- a/migrations/versions/661199d8768a_problem_with_the_last_upgrade.py +++ b/migrations/versions/661199d8768a_problem_with_the_last_upgrade.py @@ -12,8 +12,8 @@ down_revision = "3f83bfe93fc" branch_labels = None depends_on = None -from alembic import op import sqlalchemy as sa +from alembic import op def upgrade(): diff --git a/migrations/versions/8bf5694c0b9e_add_column_automatic_crawling_to_the_.py b/migrations/versions/8bf5694c0b9e_add_column_automatic_crawling_to_the_.py index 477e1376..011da048 100644 --- a/migrations/versions/8bf5694c0b9e_add_column_automatic_crawling_to_the_.py +++ b/migrations/versions/8bf5694c0b9e_add_column_automatic_crawling_to_the_.py @@ -12,8 +12,8 @@ down_revision = "5553a6c05fa7" branch_labels = None depends_on = None -from alembic import op import sqlalchemy as sa +from alembic import op def upgrade(): diff --git a/migrations/versions/957d4c5b8ac9_add_column_is_public_profile_to_the_.py b/migrations/versions/957d4c5b8ac9_add_column_is_public_profile_to_the_.py index d5c03c8a..86171fa8 100644 --- a/migrations/versions/957d4c5b8ac9_add_column_is_public_profile_to_the_.py +++ b/migrations/versions/957d4c5b8ac9_add_column_is_public_profile_to_the_.py @@ -12,8 +12,8 @@ down_revision = "2472eddbf44b" branch_labels = None depends_on = None -from alembic import op import sqlalchemy as sa +from alembic import op def upgrade(): diff --git a/migrations/versions/ac35c979311a_removed_activation_key_from_the_user_.py b/migrations/versions/ac35c979311a_removed_activation_key_from_the_user_.py index 644720b2..85f80247 100644 --- a/migrations/versions/ac35c979311a_removed_activation_key_from_the_user_.py +++ b/migrations/versions/ac35c979311a_removed_activation_key_from_the_user_.py @@ -12,8 +12,8 @@ down_revision = "661199d8768a" branch_labels = None depends_on = None -from alembic import op import sqlalchemy as sa +from alembic import op def upgrade(): diff --git a/migrations/versions/b329a1a7366f_add_new_tables_for_the_bookmarks_and_.py b/migrations/versions/b329a1a7366f_add_new_tables_for_the_bookmarks_and_.py index 20c760e9..2104e1ad 100644 --- a/migrations/versions/b329a1a7366f_add_new_tables_for_the_bookmarks_and_.py +++ b/migrations/versions/b329a1a7366f_add_new_tables_for_the_bookmarks_and_.py @@ -13,8 +13,9 @@ branch_labels = None depends_on = None from datetime import datetime -from alembic import op + import sqlalchemy as sa +from alembic import op def upgrade(): diff --git a/migrations/versions/bdd38bd755cb_remove_email_attribute_from_users_.py b/migrations/versions/bdd38bd755cb_remove_email_attribute_from_users_.py index 47ffb371..793e4683 100644 --- a/migrations/versions/bdd38bd755cb_remove_email_attribute_from_users_.py +++ b/migrations/versions/bdd38bd755cb_remove_email_attribute_from_users_.py @@ -12,8 +12,8 @@ down_revision = "b329a1a7366f" branch_labels = None depends_on = None -from alembic import op import sqlalchemy as sa +from alembic import op def upgrade(): diff --git a/migrations/versions/be2b8b6f33dd_add_column_private_to_the_feeds_table.py b/migrations/versions/be2b8b6f33dd_add_column_private_to_the_feeds_table.py index 15244b09..139b5e0e 100644 --- a/migrations/versions/be2b8b6f33dd_add_column_private_to_the_feeds_table.py +++ b/migrations/versions/be2b8b6f33dd_add_column_private_to_the_feeds_table.py @@ -12,8 +12,8 @@ down_revision = "fa10b0bdd045" branch_labels = None depends_on = None -from alembic import op import sqlalchemy as sa +from alembic import op def upgrade(): diff --git a/migrations/versions/cde34831ea_adding_feed_and_user_attributes_for_.py b/migrations/versions/cde34831ea_adding_feed_and_user_attributes_for_.py index 08969d98..2e7e2553 100644 --- a/migrations/versions/cde34831ea_adding_feed_and_user_attributes_for_.py +++ b/migrations/versions/cde34831ea_adding_feed_and_user_attributes_for_.py @@ -9,11 +9,12 @@ Create Date: 2015-03-04 22:59:44.665979 # revision identifiers, used by Alembic. revision = "cde34831ea" down_revision = "1b750a389c22" -import conf from datetime import datetime -from alembic import op import sqlalchemy as sa +from alembic import op + +import conf def upgrade(): diff --git a/migrations/versions/f700c4237e9d_remove_refresh_rate_column_from_the_.py b/migrations/versions/f700c4237e9d_remove_refresh_rate_column_from_the_.py index c69e5fe8..3ed8c5f9 100644 --- a/migrations/versions/f700c4237e9d_remove_refresh_rate_column_from_the_.py +++ b/migrations/versions/f700c4237e9d_remove_refresh_rate_column_from_the_.py @@ -12,8 +12,8 @@ down_revision = "16f8fc3cf0cc" branch_labels = None depends_on = None -from alembic import op import sqlalchemy as sa +from alembic import op def upgrade(): diff --git a/migrations/versions/fa10b0bdd045_add_bio_column_to_user_table.py b/migrations/versions/fa10b0bdd045_add_bio_column_to_user_table.py index 80ee71fc..893138d5 100644 --- a/migrations/versions/fa10b0bdd045_add_bio_column_to_user_table.py +++ b/migrations/versions/fa10b0bdd045_add_bio_column_to_user_table.py @@ -12,8 +12,8 @@ down_revision = "8bf5694c0b9e" branch_labels = None depends_on = None -from alembic import op import sqlalchemy as sa +from alembic import op def upgrade(): -- cgit