Commit 28388dac by Tuomas Riihimäki

Fix PLACE productlimitation queries.

This is mostly cosmetic. Production has already been updated.
1 parent 8260f82d
...@@ -251,6 +251,7 @@ public class BootstrapBean implements BootstrapBeanLocal { ...@@ -251,6 +251,7 @@ public class BootstrapBean implements BootstrapBeanLocal {
}); });
dbUpdates.add(new String[] { dbUpdates.add(new String[] {
"DELETE FROM product_limitations_roles where productlimitation_id in (SELECT id FROM product_limitations WHERE TYPE = 'PLACE')",
"DELETE FROM products_product_limitations where productlimits_id in (SELECT id FROM product_limitations WHERE TYPE = 'PLACE')", "DELETE FROM products_product_limitations where productlimits_id in (SELECT id FROM product_limitations WHERE TYPE = 'PLACE')",
"DELETE FROM product_limitations WHERE TYPE = 'PLACE'", "DELETE FROM product_limitations WHERE TYPE = 'PLACE'",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!