aboutsummaryrefslogtreecommitdiff
path: root/migrations/versions/19bdaa6208e_add_icon_column.py
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel+bitbucket@gmail.com>2015-07-03 15:27:36 +0200
committerCédric Bonhomme <kimble.mandel+bitbucket@gmail.com>2015-07-03 15:27:36 +0200
commit7f3c9790fcbe513436cb515b31b4ad81f2d10336 (patch)
treeb621c1e4cbd1698bfcf52695e3cc8b547cfd5e9e /migrations/versions/19bdaa6208e_add_icon_column.py
parentMinor improvements to the edit feed forms. (diff)
parentfixing bug on reset link for feeds and hidding feed title for eXtraSmall device (diff)
downloadnewspipe-7f3c9790fcbe513436cb515b31b4ad81f2d10336.tar.gz
newspipe-7f3c9790fcbe513436cb515b31b4ad81f2d10336.tar.bz2
newspipe-7f3c9790fcbe513436cb515b31b4ad81f2d10336.zip
Merged in jaesivsm/pyaggr3g470r (pull request #15)
the icon feature
Diffstat (limited to 'migrations/versions/19bdaa6208e_add_icon_column.py')
-rw-r--r--migrations/versions/19bdaa6208e_add_icon_column.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/migrations/versions/19bdaa6208e_add_icon_column.py b/migrations/versions/19bdaa6208e_add_icon_column.py
new file mode 100644
index 00000000..5762d6d7
--- /dev/null
+++ b/migrations/versions/19bdaa6208e_add_icon_column.py
@@ -0,0 +1,26 @@
+"""empty message
+
+Revision ID: 19bdaa6208e
+Revises: 422da2d0234
+Create Date: 2015-07-03 12:09:58.596010
+
+"""
+
+# revision identifiers, used by Alembic.
+revision = '19bdaa6208e'
+down_revision = '422da2d0234'
+
+from alembic import op
+import sqlalchemy as sa
+
+
+def upgrade():
+ ### commands auto generated by Alembic - please adjust! ###
+ 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')
+ ### end Alembic commands ###
bgstack15