"""v0.14.4.

Revision ID: 8c5253e809e7
Revises: 70a6ecb1f00a
Create Date: 2023-10-01 00:12:46.732101

"""
import sqlalchemy as sa  # noqa
import sqlmodel  # noqa
from alembic import op

# revision identifiers, used by Alembic.
revision = "8c5253e809e7"
down_revision = "70a6ecb1f00a"
branch_labels = None
depends_on = None


def upgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_unique_constraint(
        op.f("uq_cloud_run_instance_lamin_instance_id"),
        "cloud_run_instance",
        ["lamin_instance_id"],
    )
    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_constraint(
        op.f("uq_cloud_run_instance_lamin_instance_id"),
        "cloud_run_instance",
        type_="unique",
    )
    # ### end Alembic commands ###
