projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added pseudoconstant for state province
[civicrm-core.git]
/
xml
/
schema
/
Core
/
StateProvince.xml
diff --git
a/xml/schema/Core/StateProvince.xml
b/xml/schema/Core/StateProvince.xml
index daa60c48719a768692e94de3dd5840c475e4abd0..53f7aba31fa21cc7fac67af61a5abb652cd694b6 100644
(file)
--- a/
xml/schema/Core/StateProvince.xml
+++ b/
xml/schema/Core/StateProvince.xml
@@
-7,9
+7,10
@@
<add>1.1</add>
<field>
<name>id</name>
<add>1.1</add>
<field>
<name>id</name>
+ <title>State ID</title>
<type>int unsigned</type>
<required>true</required>
<type>int unsigned</type>
<required>true</required>
- <comment>State
/
Province ID</comment>
+ <comment>State
/
Province ID</comment>
<add>1.1</add>
</field>
<primaryKey>
<add>1.1</add>
</field>
<primaryKey>
@@
-24,7
+25,7
@@
<import>true</import>
<headerPattern>/state|prov(ince)?/i</headerPattern>
<dataPattern>/[A-Z]{2}/</dataPattern>
<import>true</import>
<headerPattern>/state|prov(ince)?/i</headerPattern>
<dataPattern>/[A-Z]{2}/</dataPattern>
- <comment>Name of State
/
Province</comment>
+ <comment>Name of State
/
Province</comment>
<add>1.1</add>
</field>
<field>
<add>1.1</add>
</field>
<field>
@@
-32,14
+33,15
@@
<title>State Abbreviation</title>
<type>varchar</type>
<length>4</length>
<title>State Abbreviation</title>
<type>varchar</type>
<length>4</length>
- <comment>2-4 Character Abbreviation of State
/
Province</comment>
+ <comment>2-4 Character Abbreviation of State
/
Province</comment>
<add>1.1</add>
</field>
<field>
<name>country_id</name>
<add>1.1</add>
</field>
<field>
<name>country_id</name>
+ <title>Country</title>
<type>int unsigned</type>
<required>true</required>
<type>int unsigned</type>
<required>true</required>
- <comment>ID of Country that State
/
Province belong</comment>
+ <comment>ID of Country that State
/
Province belong</comment>
<add>1.1</add>
</field>
<foreignKey>
<add>1.1</add>
</field>
<foreignKey>