"""empty message

Revision ID: 44d43de09fad
Revises: 04db9ccd1042
Create Date: 2023-03-30 13:30:24.691154

"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import postgresql

# revision identifiers, used by Alembic.
revision = '44d43de09fad'
down_revision = '04db9ccd1042'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_table('block_post',
    sa.Column('user_id', postgresql.UUID(as_uuid=True), nullable=True),
    sa.Column('post_id', postgresql.UUID(as_uuid=True), nullable=True),
    sa.ForeignKeyConstraint(['post_id'], ['post.id'], ),
    sa.ForeignKeyConstraint(['user_id'], ['user.id'], )
    )
    # ### end Alembic commands ###


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