From 677304ba3ecbd204fa2726e6820de84ad09bd868 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Tue, 10 Mar 2020 10:34:00 +0100 Subject: Added a tiny portion of black magic. --- migrations/versions/661199d8768a_problem_with_the_last_upgrade.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'migrations/versions/661199d8768a_problem_with_the_last_upgrade.py') diff --git a/migrations/versions/661199d8768a_problem_with_the_last_upgrade.py b/migrations/versions/661199d8768a_problem_with_the_last_upgrade.py index 1470dd04..0989a892 100644 --- a/migrations/versions/661199d8768a_problem_with_the_last_upgrade.py +++ b/migrations/versions/661199d8768a_problem_with_the_last_upgrade.py @@ -7,8 +7,8 @@ Create Date: 2016-02-13 11:33:14.183576 """ # revision identifiers, used by Alembic. -revision = '661199d8768a' -down_revision = '3f83bfe93fc' +revision = "661199d8768a" +down_revision = "3f83bfe93fc" branch_labels = None depends_on = None @@ -17,8 +17,8 @@ import sqlalchemy as sa def upgrade(): - op.add_column('article', sa.Column('updated_date', sa.DateTime(), nullable=True)) + op.add_column("article", sa.Column("updated_date", sa.DateTime(), nullable=True)) def downgrade(): - op.drop_column('article', 'updated_date') + op.drop_column("article", "updated_date") -- cgit