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:
@@ -40,6 +40,11 @@ Allow for enabling/disabling sample files:
|
||||
|
||||
ALTER TABLE `sample_import` ADD `enabled` TINYINT( 1 ) NOT NULL DEFAULT '1';
|
||||
|
||||
Contact phone should allow for char phone numbers:
|
||||
|
||||
ALTER TABLE `contact_phone` CHANGE `phone` `phone` CHAR( 30 ) NOT NULL
|
||||
|
||||
|
||||
queXS 1.6.1 - Changes since 1.6.0
|
||||
|
||||
New Feature: Include paradata/metadata in data output (number call attempts, number of answering machine messages and all sample variables)
|
||||
|
||||
@@ -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`)
|
||||
|
||||
Reference in New Issue
Block a user