`extend_existing=True` for entity tables

This commit is contained in:
Fabio Manganiello 2022-10-09 23:15:50 +02:00
parent 6ec8a991df
commit 5f09d449f4
Signed by: blacklight
GPG Key ID: D90FBA7F76362774
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ class Entity(Base):
"""
__tablename__ = 'entity'
__table_args__ = {'extend_existing': True}
id = Column(Integer, autoincrement=True, primary_key=True)
external_id = Column(String, nullable=True)