"""Added timezone information of chat user to ChatSession and Interaction

Revision ID: d173cea8d204
Revises: cb01c9192dc1
Create Date: 2024-06-20 11:10:35.207702

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'd173cea8d204'
down_revision = 'cb01c9192dc1'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('chat_session', sa.Column('timezone', sa.String(length=30), nullable=True))
    op.add_column('interaction', sa.Column('timezone', sa.String(length=30), nullable=True))
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('interaction', 'timezone')
    op.drop_column('chat_session', 'timezone')
    # ### end Alembic commands ###
