Merge pull request #23158 from eileenmcnaughton/fail
[civicrm-core.git] / xml / schema / Core / Component.xml
1 <?xml version="1.0" encoding="iso-8859-1" ?>
2
3 <table>
4 <base>CRM/Core</base>
5 <class>Component</class>
6 <name>civicrm_component</name>
7 <add>2.0</add>
8 <field>
9 <name>id</name>
10 <title>Component ID</title>
11 <type>int unsigned</type>
12 <required>true</required>
13 <comment>Component ID</comment>
14 <html>
15 <type>Number</type>
16 </html>
17 <add>2.0</add>
18 </field>
19 <primaryKey>
20 <name>id</name>
21 <autoincrement>true</autoincrement>
22 </primaryKey>
23 <field>
24 <name>name</name>
25 <title>Component name</title>
26 <type>varchar</type>
27 <required>true</required>
28 <length>64</length>
29 <comment>Name of the component.</comment>
30 <add>2.0</add>
31 </field>
32 <field>
33 <name>namespace</name>
34 <title>Namespace reserved for component.</title>
35 <type>varchar</type>
36 <length>128</length>
37 <comment>Path to components main directory in a form of a class namespace.</comment>
38 <add>2.0</add>
39 </field>
40 </table>