"""empty message

Revision ID: caa5b82edab5
Revises: ed4d36767055
Create Date: 2022-04-26 15:23:33.139990

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

# revision identifiers, used by Alembic.
revision = 'caa5b82edab5'
down_revision = 'ed4d36767055'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.alter_column('post', 'content', new_column_name='_content')
    op.add_column('post', sa.Column('linked_user', sa.ARRAY(postgresql.UUID(as_uuid=True)), nullable=True))
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.alter_column('post', '_content', new_column_name='content')
    op.drop_column('post', 'linked_user')
    # ### end Alembic commands ###
