29 lines
689 B
Python
29 lines
689 B
Python
"""added comment_count column
|
|
|
|
Revision ID: e07ebf603ff2
|
|
Revises: 131d925693a4
|
|
Create Date: 2016-12-05 19:49:45.783201
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = 'e07ebf603ff2'
|
|
down_revision = '131d925693a4'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column('found_items', sa.Column('comment_count', sa.Integer(), nullable=True))
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column('found_items', 'comment_count')
|
|
# ### end Alembic commands ###
|