From 5f09d449f48854c217797c2d3b5edb556ded2b1e Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 9 Oct 2022 23:15:50 +0200 Subject: [PATCH] `extend_existing=True` for entity tables --- platypush/entities/_base.py | 1 + 1 file changed, 1 insertion(+) diff --git a/platypush/entities/_base.py b/platypush/entities/_base.py index 58ffdfb8e9..c2a1a16cba 100644 --- a/platypush/entities/_base.py +++ b/platypush/entities/_base.py @@ -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)