aboutsummaryrefslogtreecommitdiff
path: root/migrations/versions/19bdaa6208e_add_icon_column.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2020-03-10 10:34:00 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2020-03-10 10:34:00 +0100
commit677304ba3ecbd204fa2726e6820de84ad09bd868 (patch)
treebd19fbf2f1a0cddad1980fe15cf4c228867c5d69 /migrations/versions/19bdaa6208e_add_icon_column.py
parentUpdated README. (diff)
downloadnewspipe-677304ba3ecbd204fa2726e6820de84ad09bd868.tar.gz
newspipe-677304ba3ecbd204fa2726e6820de84ad09bd868.tar.bz2
newspipe-677304ba3ecbd204fa2726e6820de84ad09bd868.zip
Added a tiny portion of black magic.
Diffstat (limited to 'migrations/versions/19bdaa6208e_add_icon_column.py')
-rw-r--r--migrations/versions/19bdaa6208e_add_icon_column.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/migrations/versions/19bdaa6208e_add_icon_column.py b/migrations/versions/19bdaa6208e_add_icon_column.py
index 2efa376f..95274b63 100644
--- a/migrations/versions/19bdaa6208e_add_icon_column.py
+++ b/migrations/versions/19bdaa6208e_add_icon_column.py
@@ -7,8 +7,8 @@ Create Date: 2015-07-03 12:09:58.596010
"""
# revision identifiers, used by Alembic.
-revision = '19bdaa6208e'
-down_revision = '422da2d0234'
+revision = "19bdaa6208e"
+down_revision = "422da2d0234"
from alembic import op
import sqlalchemy as sa
@@ -16,11 +16,11 @@ import sqlalchemy as sa
def upgrade():
### commands auto generated by Alembic - please adjust! ###
- op.add_column('feed', sa.Column('icon', sa.String(), nullable=True))
+ op.add_column("feed", sa.Column("icon", sa.String(), nullable=True))
### end Alembic commands ###
def downgrade():
### commands auto generated by Alembic - please adjust! ###
- op.drop_column('feed', 'icon')
+ op.drop_column("feed", "icon")
### end Alembic commands ###
bgstack15