Skip to content

Commit

Permalink
fix: bump unit ids in the migration file
Browse files Browse the repository at this point in the history
Removes unit id conflicts from the migration file.
  • Loading branch information
jniles committed Aug 12, 2019
1 parent 8774b09 commit 9bf73ee
Show file tree
Hide file tree
Showing 2 changed files with 341 additions and 94 deletions.
11 changes: 6 additions & 5 deletions server/models/migrations/next/migrations.sql
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,9 @@ UPDATE unit SET path="/depots" WHERE `name`="Depot Management" AND `key`="DEPOT.
* description: entity and entity groups units
*/
INSERT INTO `unit` VALUES
(240, 'Entity Folder', 'ENTITY.MANAGEMENT', 'Entity Folder', 0, '/modules/entities', '/ENTITY_FOLDER'),
(241, 'Entity Management','ENTITY.MANAGEMENT','',240,'/modules/entities','/entities'),
(242, 'Entity Group', 'ENTITY.GROUP.TITLE', 'Entity Group', 240, '/modules/entity_group', '/entity_group');
(241, 'Entity Folder', 'ENTITY.MANAGEMENT', 'Entity Folder', 0, '/modules/entities', '/ENTITY_FOLDER'),
(242, 'Entity Management','ENTITY.MANAGEMENT','',241,'/modules/entities','/entities'),
(243, 'Entity Group', 'ENTITY.GROUP.TITLE', 'Entity Group', 241, '/modules/entity_group', '/entity_group');

/*
* @author: mbayopanda
Expand Down Expand Up @@ -326,6 +326,7 @@ DELIMITER ;
-- update columns
call UpdatePeriodLabels();


/*
@author: mbayopanda
@date: 2019-05-13
Expand Down Expand Up @@ -356,8 +357,8 @@ INSERT INTO `report` (`id`, `report_key`, `title_key`) VALUES
*/

INSERT INTO `report` (`id`, `report_key`, `title_key`) VALUES
(35, 'debtorSummary', 'REPORT.DEBTOR_SUMMARY.TITLE');
(35, 'debtorSummary', 'REPORT.DEBTOR_SUMMARY.TITLE');

INSERT INTO unit VALUES
(245, 'Debtor summary report', 'REPORT.DEBTOR_SUMMARY.TITLE', 'Debtor summary report', 144, '/modules/reports/debtorSummary', '/reports/debtorSummary');

Expand Down
Loading

0 comments on commit 9bf73ee

Please sign in to comment.