"""Изменения таблицы чатов

Revision ID: 7bb5f34b11d2
Revises: 3a44aa43d35d
Create Date: 2024-02-10 18:49:33.988568

"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = '7bb5f34b11d2'
down_revision: Union[str, None] = '3a44aa43d35d'
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None


def upgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('chats', sa.Column('chat_name', sa.String(), nullable=False))
    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('chats', 'chat_name')
    # ### end Alembic commands ###
