Skip to content

Commit

Permalink
fix(accounts): remove unique label key
Browse files Browse the repository at this point in the history
This commit removes the unique label restriction from the account table
in the database.  Given that the approved chart of accounts from the
Ministry of Health has duplicate labels, we are removing this
restriction.
  • Loading branch information
Jonathan Niles authored and sfount committed Nov 28, 2016
1 parent 965a6e5 commit 09c5426
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/models/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ CREATE TABLE `account` (
`is_charge` TINYINT(1) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `account_1` (`number`),
UNIQUE KEY `account_2` (`label`),
KEY `type_id` (`type_id`),
KEY `enterprise_id` (`enterprise_id`),
KEY `cc_id` (`cc_id`),
Expand Down

0 comments on commit 09c5426

Please sign in to comment.