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