Skip to content

Commit

Permalink
Add extend_existing=True for Table
Browse files Browse the repository at this point in the history
This it an attempt to fix running tests with sqlalchemy
  • Loading branch information
ruscoder committed Aug 12, 2023
1 parent 9fa0439 commit 59ba8f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aidbox_python_sdk/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def create_table(table_name):
nullable=False,
),
Column("resource", _JSONB(astext_type=Text()), nullable=False, index=True),
extend_existing=True
)


Expand Down

0 comments on commit 59ba8f6

Please sign in to comment.