"""Drop the item table The template's example model. Flows are persisted as files in their own git repository, so nothing in the app uses it any more. Revision ID: b7c41d2f8a30 Revises: fe56fa70289e Create Date: 2026-08-15 """ import sqlalchemy as sa import sqlmodel.sql.sqltypes from alembic import op revision = "b7c41d2f8a30" down_revision = "fe56fa70289e" branch_labels = None depends_on = None def upgrade(): op.drop_table("item") def downgrade(): op.create_table( "item", sa.Column("id", sa.Uuid(), nullable=False), sa.Column( "title", sqlmodel.sql.sqltypes.AutoString(length=255), nullable=False ), sa.Column( "description", sqlmodel.sql.sqltypes.AutoString(length=255), nullable=True ), sa.Column("created_at", sa.DateTime(timezone=True), nullable=True), sa.Column("owner_id", sa.Uuid(), nullable=False), sa.ForeignKeyConstraint(["owner_id"], ["user.id"], ondelete="CASCADE"), sa.PrimaryKeyConstraint("id"), )