"""Remove Organization.public_donation_timestamps

Revision ID: fc7f1504ed98
Revises: f8c558160179
Create Date: 2024-08-13 10:15:03.736640

"""

import sqlalchemy as sa
from alembic import op

# Polar Custom Imports

# revision identifiers, used by Alembic.
revision = "fc7f1504ed98"
down_revision = "f8c558160179"
branch_labels: tuple[str] | None = None
depends_on: tuple[str] | None = None


def upgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column("organizations", "public_donation_timestamps")
    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column(
        "organizations",
        sa.Column(
            "public_donation_timestamps",
            sa.BOOLEAN(),
            autoincrement=False,
            nullable=False,
        ),
    )
    # ### end Alembic commands ###
