"""add_image_proportion_and_px_fields

Revision ID: 66b40a9e2d63
Revises: d54d06438b25
Create Date: 2026-05-19 17:29:44.730960
"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = '66b40a9e2d63'
down_revision: Union[str, None] = 'd54d06438b25'
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None


def upgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('generation_records', sa.Column('image_proportion', sa.String(length=8), nullable=True))
    op.add_column('generation_records', sa.Column('image_px', sa.String(length=10), nullable=True))
    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('generation_records', 'image_px')
    op.drop_column('generation_records', 'image_proportion')
    # ### end Alembic commands ###
