diff --git a/platypush/entities/procedures.py b/platypush/entities/procedures.py index 3609542fef..eef3427bbc 100644 --- a/platypush/entities/procedures.py +++ b/platypush/entities/procedures.py @@ -35,6 +35,7 @@ if not is_defined('procedure'): module = Column(String) source = Column(String) line = Column(Integer) + actions = Column(JSON) __table_args__ = {'keep_existing': True} __mapper_args__ = { diff --git a/platypush/plugins/procedures/__init__.py b/platypush/plugins/procedures/__init__.py index dfb98042bd..d8892e60c3 100644 --- a/platypush/plugins/procedures/__init__.py +++ b/platypush/plugins/procedures/__init__.py @@ -38,6 +38,7 @@ class ProceduresPlugin(RunnablePlugin, ProcedureEntityManager): source=metadata.get('source'), line=metadata.get('line'), args=metadata.get('args', []), + actions=metadata.get('actions', []), ) @action