"""add google_event_id to event and schedule

Revision ID: 901bc86abaf6
Revises: 25ae7f81c383
Create Date: 2026-07-05 00:53:22.643008

"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = '901bc86abaf6'
down_revision: Union[str, Sequence[str], None] = '25ae7f81c383'
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.add_column('event', sa.Column('google_event_id', sa.String(), nullable=True))
    op.add_column('schedule', sa.Column('google_event_id', sa.String(), nullable=True))
    # ### end Alembic commands ###


def downgrade() -> None:
    """Downgrade schema."""
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('schedule', 'google_event_id')
    op.drop_column('event', 'google_event_id')
    # ### end Alembic commands ###
