From a290a6860553bce9b7ca28a94a07c6d32705a0dd Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Fri, 25 Aug 2023 16:30:16 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore(update=5Fall=5Ftables.py):?= =?UTF-8?q?=20remove=20unused=20code=20block=20to=20improve=20code=20reada?= =?UTF-8?q?bility=20and=20maintainability?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../langflow/alembic/versions/d3749cf7ac7e_update_all_tables.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/backend/langflow/alembic/versions/d3749cf7ac7e_update_all_tables.py b/src/backend/langflow/alembic/versions/d3749cf7ac7e_update_all_tables.py index f45034d40..e8f59089c 100644 --- a/src/backend/langflow/alembic/versions/d3749cf7ac7e_update_all_tables.py +++ b/src/backend/langflow/alembic/versions/d3749cf7ac7e_update_all_tables.py @@ -39,7 +39,6 @@ def upgrade() -> None: op.add_column( "flow", sa.Column("user_id", sqlmodel.sql.sqltypes.GUID(), nullable=False) ) - with contextlib.suppress(sa.exc.OperationalError): op.create_index(op.f("ix_flow_user_id"), "flow", ["user_id"], unique=False) op.create_foreign_key(None, "flow", "user", ["user_id"], ["id"]) # ### end Alembic commands ###