ginger icon indicating copy to clipboard operation
ginger copied to clipboard

[base + modules] Issue #670 - Remove side effects in manage_schema functions

Open robvandenbogaard opened this issue 4 years ago • 1 comments

From #670

To avoid concurrency problems in loading data models between dependent modules, remove (database) side effects from manage_schema/2 functions, because in its current form the intended use is to return the data model declaration and let Zotonic take care of installing/updating in dependency order.

robvandenbogaard avatar Jul 07 '20 14:07 robvandenbogaard

ping @mworrell

rl-king avatar Jul 07 '20 14:07 rl-king