diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2020-03-10 10:34:00 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2020-03-10 10:34:00 +0100 |
commit | 677304ba3ecbd204fa2726e6820de84ad09bd868 (patch) | |
tree | bd19fbf2f1a0cddad1980fe15cf4c228867c5d69 /migrations/versions/8bf5694c0b9e_add_column_automatic_crawling_to_the_.py | |
parent | Updated README. (diff) | |
download | newspipe-677304ba3ecbd204fa2726e6820de84ad09bd868.tar.gz newspipe-677304ba3ecbd204fa2726e6820de84ad09bd868.tar.bz2 newspipe-677304ba3ecbd204fa2726e6820de84ad09bd868.zip |
Added a tiny portion of black magic.
Diffstat (limited to 'migrations/versions/8bf5694c0b9e_add_column_automatic_crawling_to_the_.py')
-rw-r--r-- | migrations/versions/8bf5694c0b9e_add_column_automatic_crawling_to_the_.py | 9 |
1 files changed, 4 insertions, 5 deletions
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 5728449a..477e1376 100644 --- a/migrations/versions/8bf5694c0b9e_add_column_automatic_crawling_to_the_.py +++ b/migrations/versions/8bf5694c0b9e_add_column_automatic_crawling_to_the_.py @@ -7,8 +7,8 @@ Create Date: 2016-10-06 13:47:32.784711 """ # revision identifiers, used by Alembic. -revision = '8bf5694c0b9e' -down_revision = '5553a6c05fa7' +revision = "8bf5694c0b9e" +down_revision = "5553a6c05fa7" branch_labels = None depends_on = None @@ -17,9 +17,8 @@ import sqlalchemy as sa def upgrade(): - op.add_column('user', sa.Column('automatic_crawling', - sa.Boolean(), default=True)) + op.add_column("user", sa.Column("automatic_crawling", sa.Boolean(), default=True)) def downgrade(): - op.drop_column('user', 'automatic_crawling') + op.drop_column("user", "automatic_crawling") |