forked from platypush/platypush
extend_existing=True
for entity tables
This commit is contained in:
parent
6ec8a991df
commit
5f09d449f4
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue