<filename>migrations/versions/8e8e52357e77_add_a_size_table.py<gh_stars>0
"""Add a size table

Revision ID: 8e8e52357e77
Revises: <PASSWORD>
Create Date: 2021-09-21 09:06:01.221871

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '8e8e52357e77'
down_revision = '<PASSWORD>'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_table('size',
    sa.Column('id', sa.Integer(), nullable=False),
    sa.Column('name', sa.String(length=255), nullable=True),
    sa.Column('price', sa.Integer(), nullable=True),
    sa.PrimaryKeyConstraint('id')
    )
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_table('size')
    # ### end Alembic commands ###

<filename>migrations/versions/8e8e52357e77_add_a_size_table.py<gh_stars>0
"""Add a size table

Revision ID: 8e8e52357e77
Revises: <PASSWORD>
Create Date: 2021-09-21 09:06:01.221871

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '8e8e52357e77'
down_revision = '<PASSWORD>'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_table('size',
    sa.Column('id', sa.Integer(), nullable=False),
    sa.Column('name', sa.String(length=255), nullable=True),
    sa.Column('price', sa.Integer(), nullable=True),
    sa.PrimaryKeyConstraint('id')
    )
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_table('size')
    # ### end Alembic commands ###

Add a size table  Revision ID: 8e8e52357e77 Revises: <PASSWORD> Create Date: 2021-09-21 09:06:01.221871 # revision identifiers, used by Alembic. # ### commands auto generated by Alembic - please adjust! ### # ### end Alembic commands ### # ### commands auto generated by Alembic - please adjust! ### # ### end Alembic commands ###