Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: bump unit ids in the migration file #3840

Merged
merged 1 commit into from
Aug 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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