2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Changed phone field to be a char to handle starting with 0 correctly

This commit is contained in:
Adam Zammit
2013-03-08 12:03:32 +11:00
parent 805335bad9
commit 09a3fd1dc1
2 changed files with 6 additions and 1 deletions

View File

@@ -346,7 +346,7 @@ CREATE TABLE `contact_phone` (
`contact_phone_id` bigint(20) NOT NULL auto_increment,
`case_id` bigint(20) NOT NULL,
`priority` tinyint(1) NOT NULL default '1',
`phone` bigint(20) NOT NULL,
`phone` char(30) collate utf8_unicode_ci NOT NULL,
`description` varchar(255) collate utf8_unicode_ci NOT NULL,
PRIMARY KEY (`contact_phone_id`),
KEY `case_id` (`case_id`)