"""removed is_upvoted from message

Revision ID: 8c3c862b565e
Revises: 3d37806383a2
Create Date: 2025-11-12 18:38:48.405832

"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = '8c3c862b565e'
down_revision: Union[str, Sequence[str], None] = '3d37806383a2'
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None


def upgrade() -> None:
    """Upgrade schema."""
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('conversation_message', 'is_resolved')
    op.drop_column('conversation_message', 'is_upvoted')
    # ### end Alembic commands ###


def downgrade() -> None:
    """Downgrade schema."""
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('conversation_message', sa.Column('is_upvoted', sa.BOOLEAN(), autoincrement=False, nullable=True))
    op.add_column('conversation_message', sa.Column('is_resolved', sa.BOOLEAN(), autoincrement=False, nullable=True))
    # ### end Alembic commands ###
