29 lines
652 B
Python
29 lines
652 B
Python
"""empty message
|
|
|
|
Revision ID: fee4d1b1d192
|
|
Revises: 843c810aec1f
|
|
Create Date: 2022-04-08 07:05:04.647143
|
|
|
|
"""
|
|
from alembic import op
|
|
import sqlalchemy as sa
|
|
|
|
|
|
# revision identifiers, used by Alembic.
|
|
revision = 'fee4d1b1d192'
|
|
down_revision = '843c810aec1f'
|
|
branch_labels = None
|
|
depends_on = None
|
|
|
|
|
|
def upgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.add_column('product', sa.Column('likes', sa.Integer(), nullable=True))
|
|
# ### end Alembic commands ###
|
|
|
|
|
|
def downgrade():
|
|
# ### commands auto generated by Alembic - please adjust! ###
|
|
op.drop_column('product', 'likes')
|
|
# ### end Alembic commands ###
|