From 1513cd97911fdf4500ae17f7e8ee6d90ac4bac84 Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Fri, 3 Jul 2015 11:49:28 +0200 Subject: the icon feature * icon of feeds is now an url retrieved from the feed or the site link * the icon is displayed in the home page making it visually easier to read * the http crawler is in charge of keeping it up to date --- migrations/versions/19bdaa6208e_add_icon_column.py | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 migrations/versions/19bdaa6208e_add_icon_column.py (limited to 'migrations/versions') 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 ### -- cgit