From 1b2484fbf225266e8f1ad525cbeba327e3edbed4 Mon Sep 17 00:00:00 2001 From: Jose Pabl Domingo Aramburo Sanchez Date: Sun, 12 Aug 2018 16:27:05 -0600 Subject: [PATCH] [fix] Phone number length in database --- database/database.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/database.sql b/database/database.sql index c2f1084..7163d96 100644 --- a/database/database.sql +++ b/database/database.sql @@ -11,7 +11,7 @@ CREATE TABLE IF NOT EXISTS `persons` ( `lastName` varbinary(500) comment 'The last name of the person', `birthDate` DATE NOT NULL DEFAULT '1900-01-01' comment 'Date of birth of the person', `email` varbinary(500) NOT NULL comment 'The email adress of the person', - `phone` INT(10) UNSIGNED NOT NULL comment 'The phone number of the person should be the mobile one but leaves room for home ones', + `phone` BIGINT(10) UNSIGNED NOT NULL comment 'The phone number of the person should be the mobile one but leaves room for home ones', `status` ENUM('ACTIVE', 'INACTIVE') NOT NULL DEFAULT 'ACTIVE', `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP comment 'The date on which the registry was created', `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP comment 'The date of the last time the row was modified',