"""online orders: table_id (the QR menu at the table, plan phase 3S, S.7) Revision ID: 0006_order_table_id Revises: 0005_order_party_size Create Date: 2026-11-16 23:00:00 """ from alembic import op import sqlalchemy as sa revision = '0006_order_table_id' down_revision = '0005_order_party_size' branch_labels = None depends_on = None def upgrade() -> None: with op.batch_alter_table('online_orders', schema=None) as batch_op: batch_op.add_column(sa.Column('table_id', sa.Integer(), nullable=True)) def downgrade() -> None: with op.batch_alter_table('online_orders', schema=None) as batch_op: batch_op.drop_column('table_id')