Skip to content

Commit

Permalink
Add script in migrate file
Browse files Browse the repository at this point in the history
  • Loading branch information
lomamech authored and jniles committed Mar 3, 2021
1 parent 65d8030 commit 477f9c8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions server/models/migrations/next/migrate.sql
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,16 @@ INSERT INTO unit VALUES
-- Stock Movement Flux
INSERT INTO `flux` VALUES
(16, 'STOCK_FLUX.AGGREGATE_CONSUMPTION');

/*
* @author: lomamech
* @date: 2021-02-23
* @subject : Allow users to record aggregate consumption information for a depot
*/
INSERT INTO unit VALUES
(293, 'Aggregated consumption','TREE.AGGREGATED_STOCK_CONSUMPTION','Aggregated consumption',160,'/stock/aggregated_consumption');

-- Stock Movement Flux
INSERT INTO `flux` VALUES
(16, 'STOCK_FLUX.AGGREGATE_CONSUMPTION');

0 comments on commit 477f9c8

Please sign in to comment.