CRM-15735 fix - Update payment status for pay-later membership renewal ignores Receiv...
[civicrm-core.git] / xml / schema / Core / WordReplacement.xml
1 <?xml version="1.0" encoding="iso-8859-1" ?>
2
3 <table>
4 <base>CRM/Core</base>
5 <class>WordReplacement</class>
6 <name>civicrm_word_replacement</name>
7 <comment>Top-level hierarchy to support word replacement.</comment>
8 <add>4.4</add>
9 <field>
10 <name>id</name>
11 <title>Word Replacement ID</title>
12 <type>int unsigned</type>
13 <required>true</required>
14 <comment>Word replacement ID</comment>
15 <add>4.4</add>
16 </field>
17 <primaryKey>
18 <name>id</name>
19 <autoincrement>true</autoincrement>
20 </primaryKey>
21 <field>
22 <name>find_word</name>
23 <title>Replaced Word</title>
24 <type>varchar</type>
25 <length>255</length>
26 <collate>utf8_bin</collate>
27 <comment>Word which need to be replaced</comment>
28 <add>4.4</add>
29 </field>
30 <field>
31 <name>replace_word</name>
32 <title>Replacement Word</title>
33 <type>varchar</type>
34 <length>255</length>
35 <collate>utf8_bin</collate>
36 <comment>Word which will replace the word in find</comment>
37 <add>4.4</add>
38 </field>
39 <field>
40 <name>is_active</name>
41 <title>Word Replacement is Active</title>
42 <type>boolean</type>
43 <default>1</default>
44 <comment>Is this entry active?</comment>
45 <add>4.4</add>
46 </field>
47 <index>
48 <name>UI_domain_find</name>
49 <fieldName>domain_id</fieldName>
50 <fieldName>find_word</fieldName>
51 <unique>true</unique>
52 <add>4.4</add>
53 </index>
54 <field>
55 <name>match_type</name>
56 <title>Word Replacement Match Type</title>
57 <type>varchar</type>
58 <length>16</length>
59 <default>"wildcardMatch"</default>
60 <pseudoconstant>
61 <callback>CRM_Core_SelectValues::getWordReplacementMatchType</callback>
62 </pseudoconstant>
63 <add>4.4</add>
64 <html>
65 <type>Select</type>
66 </html>
67 </field>
68 <field>
69 <name>domain_id</name>
70 <title>Word Replacement Domain ID</title>
71 <type>int unsigned</type>
72 <pseudoconstant>
73 <table>civicrm_domain</table>
74 <keyColumn>id</keyColumn>
75 <labelColumn>name</labelColumn>
76 </pseudoconstant>
77 <comment>FK to Domain ID. This is for Domain specific word replacement</comment>
78 <add>1.1</add>
79 </field>
80 <foreignKey>
81 <name>domain_id</name>
82 <table>civicrm_domain</table>
83 <key>id</key>
84 <add>1.1</add>
85 </foreignKey>
86 </table>