"""Add yield connected_at timestamp.

Revision ID: 010_add_yield_connected_at
Revises: 009_add_listing_sold_fields
Create Date: 2025-12-15
"""

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = "010_add_yield_connected_at"
down_revision = "009_add_listing_sold_fields"
branch_labels = None
depends_on = None


def upgrade() -> None:
    op.add_column("yield_domains", sa.Column("connected_at", sa.DateTime(), nullable=True))


def downgrade() -> None:
    op.drop_column("yield_domains", "connected_at")

