"""oauth_accounts.refresh_token_expires_at

Revision ID: 43164d237316
Revises: 317b6bf2a6d9
Create Date: 2024-06-28 13:39:22.524458

"""

import sqlalchemy as sa
from alembic import op

# Polar Custom Imports

# revision identifiers, used by Alembic.
revision = "43164d237316"
down_revision = "317b6bf2a6d9"
branch_labels: tuple[str] | None = None
depends_on: tuple[str] | None = None


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


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