EditionPN/migrations/versions/c1377d41bf27_pn_table.py

29 lines
635 B
Python
Raw Normal View History

2021-05-06 10:26:28 +02:00
"""PN table
Revision ID: c1377d41bf27
Revises: be67c6934c05
Create Date: 2021-05-03 17:20:44.055359
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'c1377d41bf27'
down_revision = 'be67c6934c05'
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('PN', sa.Column('type', sa.Integer(), nullable=True))
# ### end Alembic commands ###
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('PN', 'type')
# ### end Alembic commands ###