1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
4 <base>CRM/Contact
</base>
5 <class>Household
</class>
6 <name>civicrm_household
</name>
7 <comment>Define household specific properties
</comment>
12 <type>int unsigned
</type>
13 <required>true
</required>
14 <comment>Unique Household ID
</comment>
19 <autoincrement>true
</autoincrement>
22 <name>contact_id
</name>
23 <type>int unsigned
</type>
24 <required>true
</required>
25 <comment>FK to Contact ID
</comment>
29 <name>contact_id
</name>
30 <table>civicrm_contact
</table>
35 <name>household_name
</name>
39 <headerPattern>/^household|(h(ousehold\s)?name)$/i
</headerPattern>
40 <dataPattern>/^\w+$/
</dataPattern>
41 <comment>Household Name.
</comment>
46 <name>index_household_name
</name>
47 <fieldName>household_name
</fieldName>
51 <name>primary_contact_id
</name>
52 <type>int unsigned
</type>
53 <comment>Optional FK to Primary Contact for this household.
</comment>
57 <name>primary_contact_id
</name>
58 <table>civicrm_contact
</table>
63 <name>UI_contact
</name>
64 <fieldName>contact_id
</fieldName>