Skip to content

Commit

Permalink
fix(accounts): forbid negative account numbers
Browse files Browse the repository at this point in the history
This commit fixes the database schema to forbid negative account
numbers.
  • Loading branch information
Jonathan Niles committed Aug 8, 2016
1 parent 7f66d1e commit f8ac192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/models/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ CREATE TABLE `account` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`type_id` MEDIUMINT(8) UNSIGNED NOT NULL,
`enterprise_id` SMALLINT(5) UNSIGNED NOT NULL,
`number` INT(11) NOT NULL,
`number` INT(11) UNSIGNED NOT NULL,
`label` VARCHAR(200) NOT NULL,
`parent` INT(10) UNSIGNED NOT NULL,
`locked` TINYINT(1) UNSIGNED DEFAULT 0,
Expand Down

0 comments on commit f8ac192

Please sign in to comment.