projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #15184 from eileenmcnaughton/dedupe9
[civicrm-core.git]
/
xml
/
schema
/
Contact
/
ContactType.xml
diff --git
a/xml/schema/Contact/ContactType.xml
b/xml/schema/Contact/ContactType.xml
index f5b98b40bffcda00a209514833424cced69f6ed4..8a701d53e032fc1af454ec918318895b7f237c76 100644
(file)
--- a/
xml/schema/Contact/ContactType.xml
+++ b/
xml/schema/Contact/ContactType.xml
@@
-66,6
+66,12
@@
<title>Contact Type Parent</title>
<type>int unsigned</type>
<comment>Optional FK to parent contact type.</comment>
<title>Contact Type Parent</title>
<type>int unsigned</type>
<comment>Optional FK to parent contact type.</comment>
+ <pseudoconstant>
+ <table>civicrm_contact_type</table>
+ <keyColumn>id</keyColumn>
+ <labelColumn>label</labelColumn>
+ <condition>parent_id IS NULL</condition>
+ </pseudoconstant>
<add>3.1</add>
</field>
<foreignKey>
<add>3.1</add>
</field>
<foreignKey>