CRM-15910. Increase field length of external_identifier to 64 bytes.
authorChris Burgess <chris@giantrobot.co.nz>
Tue, 3 Feb 2015 07:18:36 +0000 (20:18 +1300)
committerChris Burgess <chris@giantrobot.co.nz>
Tue, 3 Feb 2015 07:18:44 +0000 (20:18 +1300)
CRM/Upgrade/Incremental/sql/4.6.alpha5.mysql.tpl
xml/schema/Contact/Contact.xml

index f3920f0e5795ebfc0ff481945523ad28e3c4df7e..b04f1db60023085a6958ad21e7f7af37ab540e69 100644 (file)
@@ -1 +1,5 @@
 {* file to handle db changes in 4.6.alpha5 during upgrade *}
+
+-- CRM-15910
+ALTER TABLE `civicrm_contact`
+  CHANGE COLUMN `external_identifier` `external_identifier` VARCHAR(64) DEFAULT NULL;
index 9b21b6e0d1e77f14c7860c88296387e4420a7faa..f90a154c0ba8d375976bbfdea223baec3c27bd1f 100644 (file)
   <field>
     <name>external_identifier</name>
     <type>varchar</type>
-    <length>32</length>
+    <length>64</length>
     <html>
       <type>Text</type>
       <size>EIGHT</size>