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 untrusted user: blacklight
GPG key ID: D90FBA7F76362774

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)