Fix FiveFortyNine is_public to default to 0
[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 <title>Extension ID</title>
13 <required>true</required>
14 <comment>Local Extension ID</comment>
15 <html>
16 <type>Number</type>
17 </html>
18 <add>4.2</add>
19 </field>
20 <primaryKey>
21 <name>id</name>
22 <autoincrement>true</autoincrement>
23 </primaryKey>
24 <field>
25 <name>type</name>
26 <title>Type</title>
27 <type>varchar</type>
28 <length>8</length>
29 <required>true</required>
30 <comment></comment>
31 <pseudoconstant>
32 <callback>CRM_Core_SelectValues::getExtensionTypes</callback>
33 </pseudoconstant>
34 <add>4.2</add>
35 <html>
36 <type>Select</type>
37 </html>
38 </field>
39 <field>
40 <!-- "key" is a reserved word in MySQL -->
41 <name>full_name</name>
42 <title>Key</title>
43 <type>varchar</type>
44 <length>255</length>
45 <required>true</required>
46 <comment>Fully qualified extension name</comment>
47 <add>4.2</add>
48 </field>
49 <index>
50 <name>UI_extension_full_name</name>
51 <fieldName>full_name</fieldName>
52 <unique>true</unique>
53 <add>4.2</add>
54 </index>
55 <field>
56 <name>name</name>
57 <title>Name</title>
58 <type>varchar</type>
59 <length>255</length>
60 <import>true</import>
61 <comment>Short name</comment>
62 <add>4.2</add>
63 </field>
64 <index>
65 <name>UI_extension_name</name>
66 <fieldName>name</fieldName>
67 <add>4.2</add>
68 </index>
69 <field>
70 <name>label</name>
71 <title>Label</title>
72 <type>varchar</type>
73 <length>255</length>
74 <import>true</import>
75 <comment>Short, printable name</comment>
76 <add>4.2</add>
77 </field>
78 <field>
79 <name>file</name>
80 <title>File</title>
81 <type>varchar</type>
82 <length>255</length>
83 <import>true</import>
84 <comment>Primary PHP file</comment>
85 <add>4.2</add>
86 </field>
87 <field>
88 <name>schema_version</name>
89 <title>Schema Version</title>
90 <type>varchar</type>
91 <length>63</length>
92 <import>true</import>
93 <comment>Revision code of the database schema; the format is module-defined</comment>
94 <add>4.2</add>
95 </field>
96 <field>
97 <name>is_active</name>
98 <type>boolean</type>
99 <title>Extension is Active?</title>
100 <default>1</default>
101 <comment>Is this extension active?</comment>
102 <add>4.2</add>
103 </field>
104 </table>