From 59ba8f646152734465bb4361f425da0d3c0fd55e Mon Sep 17 00:00:00 2001 From: Vadim Laletin Date: Sat, 12 Aug 2023 17:05:02 +0200 Subject: [PATCH] Add extend_existing=True for Table This it an attempt to fix running tests with sqlalchemy --- aidbox_python_sdk/db.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aidbox_python_sdk/db.py b/aidbox_python_sdk/db.py index e54741c..82fc546 100644 --- a/aidbox_python_sdk/db.py +++ b/aidbox_python_sdk/db.py @@ -69,6 +69,7 @@ def create_table(table_name): nullable=False, ), Column("resource", _JSONB(astext_type=Text()), nullable=False, index=True), + extend_existing=True )