"""add_photos_to_housekeeping_tasks

Revision ID: add_photos_housekeeping
Revises: d032f2351965
Create Date: 2025-01-02 12:00:00.000000

"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import mysql


# revision identifiers, used by Alembic.
revision = 'add_photos_housekeeping'
down_revision = 'd032f2351965'
branch_labels = None
depends_on = None


def upgrade() -> None:
    # Add photos column to housekeeping_tasks table
    op.add_column('housekeeping_tasks', sa.Column('photos', sa.JSON(), nullable=True))


def downgrade() -> None:
    # Remove photos column
    op.drop_column('housekeeping_tasks', 'photos')

