"""add_requested_scopes_to_oauth_integration

Revision ID: 67914e68c877
Revises: 13022d1ff78d
Create Date: 2025-06-29 15:57:38.139123

"""

from collections.abc import Sequence

import sqlalchemy as sa

from alembic import op

# revision identifiers, used by Alembic.
revision: str = "67914e68c877"
down_revision: str | None = "13022d1ff78d"
branch_labels: str | Sequence[str] | None = None
depends_on: str | Sequence[str] | None = None


def upgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column(
        "oauth_integration",
        sa.Column("requested_scopes", sa.String(), nullable=True),
    )
    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column("oauth_integration", "requested_scopes")
    # ### end Alembic commands ###
