6781f9d7ee85_add_icon_field.py 652 Bytes
Newer Older
Dylan Jones's avatar
Dylan Jones committed
1
"""add icon field
Dylan Jones's avatar
Dylan Jones committed
2

Dylan Jones's avatar
Dylan Jones committed
3
Revision ID: 6781f9d7ee85
Dylan Jones's avatar
Dylan Jones committed
4
Revises: 24dfd0eb9da6
Dylan Jones's avatar
Dylan Jones committed
5
Create Date: 2020-02-16 19:25:29.011628
Dylan Jones's avatar
Dylan Jones committed
6
7
8
9
10
11
12

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
Dylan Jones's avatar
Dylan Jones committed
13
revision = '6781f9d7ee85'
Dylan Jones's avatar
Dylan Jones committed
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
down_revision = '24dfd0eb9da6'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('category', sa.Column('icon', sa.String(), nullable=True))
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('category', 'icon')
    # ### end Alembic commands ###