Skip to content

Commit

Permalink
Merge branch 'master' into fix-stock-consumption-schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcameron committed Sep 16, 2021
2 parents 57c23a5 + 0703612 commit 617715f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/models/migrations/next/migrate.sql
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@ ALTER TABLE `cost_center_basis` MODIFY COLUMN `name` VARCHAR(200) NOT NULL;

/**
author: @jmcameron
date: 2021-09-09
date: 2021-09-09, updated 2021-09-15
description: Create cost basis items
*/
CALL add_column_if_missing('cost_center_basis', 'description', 'TEXT DEFAULT NULL AFTER `name`');
CALL add_column_if_missing('cost_center_basis', 'is_predefined', 'BOOLEAN NOT NULL DEFAULT 0 AFTER `description`');


/**
* THE USE OF RENAME IMPLY THAT TABLES EXISTS BEFORE TO RENAME
* AFTER A FRESH BUILD (yarn build:db) THIS CODES ARE NOT NECESSARY
Expand Down

0 comments on commit 617715f

Please sign in to comment.