Page MenuHomeIn-Portal Phabricator

custom
No OneTemporary

File Metadata

Created
Sat, Sep 20, 12:50 PM
Index: branches/1.0.x/custom/install/upgrades.sql
===================================================================
--- branches/1.0.x/custom/install/upgrades.sql (revision 12580)
+++ branches/1.0.x/custom/install/upgrades.sql (revision 12581)
@@ -1 +1,4 @@
# ===== v 1.0.0 =====
+
+# ===== v 1.0.1 =====
+UPDATE Modules SET LoadOrder = 10 WHERE `Name` = 'Custom';
\ No newline at end of file
Index: branches/1.0.x/custom/install/install_data.sql
===================================================================
--- branches/1.0.x/custom/install/install_data.sql (revision 12580)
+++ branches/1.0.x/custom/install/install_data.sql (revision 12581)
@@ -1,19 +1,19 @@
# place here only sql queries, that were executed on live AND dev sites !!!
INSERT INTO Permissions VALUES(DEFAULT, 'custom.view', 11, 1, 1, 0);
INSERT INTO Permissions VALUES(DEFAULT, 'custom:widgets.delete', 11, 1, 1, 0);
INSERT INTO Permissions VALUES(DEFAULT, 'custom:widgets.edit', 11, 1, 1, 0);
INSERT INTO Permissions VALUES(DEFAULT, 'custom:widgets.add', 11, 1, 1, 0);
INSERT INTO Permissions VALUES(DEFAULT, 'custom:widgets.view', 11, 1, 1, 0);
-INSERT INTO Modules VALUES ('Custom', 'custom/', 'custom-sections', DEFAULT, 1, 2, '', 0, NULL);
+INSERT INTO Modules VALUES ('Custom', 'custom/', 'custom-sections', DEFAULT, 1, 10, '', 0, NULL);
# ===== SQLs above this line already on LIVE ================================================================================================
# place here only sql queries, that were executed on dev site !!!
# ===== SQLs above this line already on DEV ========================================================================================================
# place here only sql queries, that were executed on prod server !!!

Event Timeline