2 |
<schema><tables> |
<schema><tables> |
3 |
<table name="contact_phone"> |
<table name="contact_phone"> |
4 |
<fields><field name="contact_phone_id" type="key" defaultwith="serial" nullable="N"/> |
<fields><field name="contact_phone_id" type="key" defaultwith="serial" nullable="N"/> |
5 |
<field name="contact_id" type="key" nullable="N"/> |
<field name="contact_id" type="key" nullable="N"/> |
6 |
<field name="phone_type_id" type="key" nullable="N"/> |
<field name="phone_type_id" type="key" nullable="N"/> |
7 |
<field name="phone_number" type="string" length="30" nullable="N"/> |
<field name="phone_number" type="string" length="30" nullable="N"/> |
8 |
<field name="preferred" type="string" length="1" default="'N'"/> |
<field name="preferred" type="string" length="1" default="'N'"/> |
9 |
<field name="created_on" type="timestamp" nullable="N" defaultwith="timestamp"/> |
<field name="created_on" type="timestamp" nullable="N" defaultwith="timestamp"/> |
10 |
<field name="created_by" type="key" nullable="Y"/> |
<field name="created_by" type="key" nullable="Y"/> |
11 |
<field name="modified_on" type="timestamp" nullable="N" defaultwith="timestamp"/> |
<field name="modified_on" type="timestamp" nullable="N" defaultwith="timestamp"/> |
12 |
<field name="modified_by" type="key" nullable="Y"/> |
<field name="modified_by" type="key" nullable="Y"/> |
13 |
</fields> |
</fields> |
14 |
<primarykey name="pk_contact_phone"><pkfield name="contact_phone_id"/></primarykey> |
<primarykey name="pk_contact_phone"><pkfield name="contact_phone_id"/></primarykey> |
15 |
<constraints/> |
<constraints/> |
16 |
<indexes/> |
<indexes> |
17 |
|
<index unique="Y" name="ix_contact_email_cont"> |
18 |
|
<indexfield name="contact_id"/> |
19 |
|
<indexfield name="email_type_id"/> |
20 |
|
</index> |
21 |
|
</indexes> |
22 |
</table> |
</table> |
23 |
</tables></schema> |
</tables></schema> |
24 |
|
|