CRM-17118 extend civicrm_address postal_code to accept full data strings from paypal...
authoreileen <emcnaughton@wikimedia.org>
Tue, 3 May 2016 03:13:02 +0000 (15:13 +1200)
committereileen <emcnaughton@wikimedia.org>
Wed, 18 May 2016 06:06:55 +0000 (18:06 +1200)
CRM/Upgrade/Incremental/sql/4.7.8.mysql.tpl
xml/schema/Core/Address.xml

index 4f54df1002eba1d267362e2a7122c0225e7e3658..641b3335b7798b0a40b9100cf3438ab9f29b7541 100644 (file)
@@ -5,3 +5,7 @@ ALTER TABLE `civicrm_contact` CHANGE `image_URL` `image_URL` VARCHAR(512) CHARAC
 
 -- CRM-18537
 DELETE FROM civicrm_state_province WHERE name = 'Fernando de Noronha';
+
+-- CRM-17118 extend civicrm_address postal_code to accept full data strings from paypal etc.
+ALTER TABLE civicrm_address CHANGE `postal_code` `postal_code` varchar(64) ;
+
index 028b4bed3e3b67115a7c3dac62a093e9528966e8..2af1739845fab4741aaaac20e64cc8cf117149e9 100644 (file)
     <name>postal_code</name>
     <title>Postal Code</title>
     <type>varchar</type>
-    <length>12</length>
+    <length>64</length>
     <import>true</import>
     <headerPattern>/postal|zip/i</headerPattern>
     <dataPattern>/\d?\d{4}(-\d{4})?/</dataPattern>