From 15f5a214354cf5c5d90492456368eee3d984e733 Mon Sep 17 00:00:00 2001 From: Wen Guan Date: Thu, 21 Sep 2023 17:55:11 +0200 Subject: [PATCH] fix alembic --- .../orm/base/alembic/versions/53d0af715dab_add_site_throttler.py | 1 - 1 file changed, 1 deletion(-) diff --git a/main/lib/idds/orm/base/alembic/versions/53d0af715dab_add_site_throttler.py b/main/lib/idds/orm/base/alembic/versions/53d0af715dab_add_site_throttler.py index a7ff48a8..0557b6e7 100644 --- a/main/lib/idds/orm/base/alembic/versions/53d0af715dab_add_site_throttler.py +++ b/main/lib/idds/orm/base/alembic/versions/53d0af715dab_add_site_throttler.py @@ -69,7 +69,6 @@ def upgrade() -> None: sa.Column("created_at", sa.DateTime, default=datetime.datetime.utcnow, nullable=False), sa.Column("updated_at", sa.DateTime, default=datetime.datetime.utcnow, onupdate=datetime.datetime.utcnow, nullable=False), sa.Column('others', JSON()), - replace_existing=True, schema=schema) op.create_primary_key('THROTTLER_PK', 'throttlers', ['throttler_id'], schema=schema) op.create_unique_constraint('THROTTLER_SITE_UQ', 'throttlers', ['site'], schema=schema)