Import from SVN (r45945, r596)
[civicrm-core.git] / xml / schema / Core / Extension.xml
1 <?xml version="1.0" encoding="iso-8859-1" ?>
2
3 <table>
4 <base>CRM/Core</base>
5 <class>Extension</class>
6 <name>civicrm_extension</name>
7 <add>4.2</add>
8 <log>false</log>
9 <field>
10 <name>id</name>
11 <type>int unsigned</type>
12 <required>true</required>
13 <comment>Local Extension ID</comment>
14 <add>4.2</add>
15 </field>
16 <primaryKey>
17 <name>id</name>
18 <autoincrement>true</autoincrement>
19 </primaryKey>
20 <field>
21 <name>type</name>
22 <title>Type</title>
23 <type>enum</type>
24 <values>payment, search, report, module, sms</values>
25 <required>true</required>
26 <comment></comment>
27 <add>4.2</add>
28 </field>
29 <field>
30 <!-- "key" is a reserved word in MySQL -->
31 <name>full_name</name>
32 <title>Key</title>
33 <type>varchar</type>
34 <length>255</length>
35 <required>true</required>
36 <comment>Fully qualified extension name</comment>
37 <add>4.2</add>
38 </field>
39 <index>
40 <name>UI_extension_full_name</name>
41 <fieldName>full_name</fieldName>
42 <unique>true</unique>
43 <add>4.2</add>
44 </index>
45 <field>
46 <name>name</name>
47 <title>Name</title>
48 <type>varchar</type>
49 <length>255</length>
50 <import>true</import>
51 <comment>Short name</comment>
52 <add>4.2</add>
53 </field>
54 <index>
55 <name>UI_extension_name</name>
56 <fieldName>name</fieldName>
57 <add>4.2</add>
58 </index>
59 <field>
60 <name>label</name>
61 <title>Label</title>
62 <type>varchar</type>
63 <length>255</length>
64 <import>true</import>
65 <comment>Short, printable name</comment>
66 <add>4.2</add>
67 </field>
68 <field>
69 <name>file</name>
70 <title>File</title>
71 <type>varchar</type>
72 <length>255</length>
73 <import>true</import>
74 <comment>Primary PHP file</comment>
75 <add>4.2</add>
76 </field>
77 <field>
78 <name>schema_version</name>
79 <title>Schema Version</title>
80 <type>varchar</type>
81 <length>63</length>
82 <import>true</import>
83 <comment>Revision code of the database schema; the format is module-defined</comment>
84 <add>4.2</add>
85 </field>
86 <field>
87 <name>is_active</name>
88 <type>boolean</type>
89 <default>1</default>
90 <comment>Is this extension active?</comment>
91 <add>4.2</add>
92 </field>
93 </table>