Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
2 | ||
3 | <table> | |
4 | <base>CRM/Core</base> | |
5 | <class>LocBlock</class> | |
6 | <name>civicrm_loc_block</name> | |
7 | <comment>Define location specific properties</comment> | |
8 | <add>2.0</add> | |
9 | <log>true</log> | |
77af2b91 CW |
10 | <title>Location</title> |
11 | <icon>fa-map-o</icon> | |
6a488035 | 12 | <field> |
186e0984 | 13 | <name>id</name> |
fb7786b0 | 14 | <title>Location Block ID</title> |
186e0984 EM |
15 | <type>int unsigned</type> |
16 | <required>true</required> | |
17 | <comment>Unique ID</comment> | |
0481e12c A |
18 | <html> |
19 | <type>Number</type> | |
20 | </html> | |
186e0984 | 21 | <add>2.0</add> |
6a488035 TO |
22 | </field> |
23 | <primaryKey> | |
186e0984 EM |
24 | <name>id</name> |
25 | <autoincrement>true</autoincrement> | |
6a488035 TO |
26 | </primaryKey> |
27 | <field> | |
186e0984 | 28 | <name>address_id</name> |
047c5009 | 29 | <title>Address ID</title> |
186e0984 | 30 | <type>int unsigned</type> |
57e94608 | 31 | <html> |
047c5009 | 32 | <label>Address</label> |
57e94608 | 33 | </html> |
186e0984 | 34 | <add>2.0</add> |
6a488035 | 35 | </field> |
3c7d2158 | 36 | <foreignKey> |
186e0984 EM |
37 | <name>address_id</name> |
38 | <table>civicrm_address</table> | |
39 | <key>id</key> | |
40 | <add>2.0</add> | |
41 | <onDelete>SET NULL</onDelete> | |
3c7d2158 | 42 | </foreignKey> |
6a488035 | 43 | <field> |
186e0984 | 44 | <name>email_id</name> |
047c5009 | 45 | <title>Email ID</title> |
186e0984 | 46 | <type>int unsigned</type> |
57e94608 | 47 | <html> |
047c5009 | 48 | <label>Email</label> |
57e94608 | 49 | </html> |
186e0984 | 50 | <add>2.0</add> |
6a488035 | 51 | </field> |
3c7d2158 | 52 | <foreignKey> |
186e0984 EM |
53 | <name>email_id</name> |
54 | <table>civicrm_email</table> | |
55 | <key>id</key> | |
56 | <add>2.0</add> | |
57 | <onDelete>SET NULL</onDelete> | |
3c7d2158 | 58 | </foreignKey> |
6a488035 | 59 | <field> |
186e0984 | 60 | <name>phone_id</name> |
047c5009 | 61 | <title>Phone ID</title> |
186e0984 | 62 | <type>int unsigned</type> |
57e94608 | 63 | <html> |
047c5009 | 64 | <label>Phone</label> |
57e94608 | 65 | </html> |
186e0984 | 66 | <add>2.0</add> |
6a488035 | 67 | </field> |
3c7d2158 | 68 | <foreignKey> |
186e0984 EM |
69 | <name>phone_id</name> |
70 | <table>civicrm_phone</table> | |
71 | <key>id</key> | |
72 | <add>2.0</add> | |
73 | <onDelete>SET NULL</onDelete> | |
3c7d2158 | 74 | </foreignKey> |
6a488035 | 75 | <field> |
186e0984 | 76 | <name>im_id</name> |
047c5009 | 77 | <title>IM ID</title> |
186e0984 | 78 | <type>int unsigned</type> |
57e94608 | 79 | <html> |
77af2b91 | 80 | <label>Instant Messenger</label> |
57e94608 | 81 | </html> |
186e0984 | 82 | <add>2.0</add> |
6a488035 | 83 | </field> |
3c7d2158 | 84 | <foreignKey> |
186e0984 EM |
85 | <name>im_id</name> |
86 | <table>civicrm_im</table> | |
87 | <key>id</key> | |
88 | <add>2.0</add> | |
89 | <onDelete>SET NULL</onDelete> | |
3c7d2158 | 90 | </foreignKey> |
6a488035 | 91 | <field> |
186e0984 | 92 | <name>address_2_id</name> |
77af2b91 | 93 | <title>Address 2 ID</title> |
186e0984 | 94 | <type>int unsigned</type> |
57e94608 | 95 | <html> |
77af2b91 | 96 | <label>Address 2</label> |
57e94608 | 97 | </html> |
186e0984 | 98 | <add>2.0</add> |
6a488035 | 99 | </field> |
3c7d2158 | 100 | <foreignKey> |
186e0984 EM |
101 | <name>address_2_id</name> |
102 | <table>civicrm_address</table> | |
103 | <key>id</key> | |
104 | <add>2.0</add> | |
105 | <onDelete>SET NULL</onDelete> | |
3c7d2158 | 106 | </foreignKey> |
6a488035 | 107 | <field> |
186e0984 EM |
108 | <name>email_2_id</name> |
109 | <type>int unsigned</type> | |
57e94608 A |
110 | <title>Email 2 ID</title> |
111 | <html> | |
112 | <label>Email 2</label> | |
113 | </html> | |
186e0984 | 114 | <add>2.0</add> |
6a488035 | 115 | </field> |
3c7d2158 | 116 | <foreignKey> |
186e0984 EM |
117 | <name>email_2_id</name> |
118 | <table>civicrm_email</table> | |
119 | <key>id</key> | |
120 | <add>2.0</add> | |
121 | <onDelete>SET NULL</onDelete> | |
3c7d2158 | 122 | </foreignKey> |
6a488035 | 123 | <field> |
186e0984 EM |
124 | <name>phone_2_id</name> |
125 | <type>int unsigned</type> | |
57e94608 A |
126 | <title>Phone 2 ID</title> |
127 | <html> | |
128 | <label>Phone 2</label> | |
129 | </html> | |
186e0984 | 130 | <add>2.0</add> |
6a488035 | 131 | </field> |
3c7d2158 | 132 | <foreignKey> |
186e0984 EM |
133 | <name>phone_2_id</name> |
134 | <table>civicrm_phone</table> | |
135 | <key>id</key> | |
136 | <add>2.0</add> | |
137 | <onDelete>SET NULL</onDelete> | |
3c7d2158 | 138 | </foreignKey> |
6a488035 | 139 | <field> |
186e0984 EM |
140 | <name>im_2_id</name> |
141 | <type>int unsigned</type> | |
77af2b91 | 142 | <title>IM 2 ID</title> |
57e94608 A |
143 | <html> |
144 | <label>Instant Messenger 2</label> | |
145 | </html> | |
186e0984 | 146 | <add>2.0</add> |
6a488035 | 147 | </field> |
3c7d2158 | 148 | <foreignKey> |
186e0984 EM |
149 | <name>im_2_id</name> |
150 | <table>civicrm_im</table> | |
151 | <key>id</key> | |
152 | <add>2.0</add> | |
153 | <onDelete>SET NULL</onDelete> | |
3c7d2158 | 154 | </foreignKey> |
6a488035 | 155 | </table> |