Merge pull request #7552 from eileenmcnaughton/daotest
[civicrm-core.git] / xml / schema / Core / PreferencesDate.xml
1 <?xml version="1.0" encoding="iso-8859-1" ?>
2
3 <table>
4 <base>CRM/Core</base>
5 <class>PreferencesDate</class>
6 <name>civicrm_preferences_date</name>
7 <comment>Define date preferences for the site</comment>
8 <add>2.0</add>
9 <log>true</log>
10 <field>
11 <name>id</name>
12 <title>Date Preference ID</title>
13 <type>int unsigned</type>
14 <required>true</required>
15 <add>2.0</add>
16 </field>
17 <primaryKey>
18 <name>id</name>
19 <autoincrement>true</autoincrement>
20 </primaryKey>
21 <field>
22 <name>name</name>
23 <title>Date Preference Name</title>
24 <type>varchar</type>
25 <length>64</length>
26 <required>true</required>
27 <comment>The meta name for this date (fixed in code)</comment>
28 <add>2.0</add>
29 </field>
30 <index>
31 <name>index_name</name>
32 <fieldName>name</fieldName>
33 <add>2.0</add>
34 </index>
35 <field>
36 <name>description</name>
37 <type>varchar</type>
38 <length>255</length>
39 <comment>Description of this date type.</comment>
40 <add>2.0</add>
41 </field>
42 <field>
43 <name>start</name>
44 <type>int</type>
45 <required>true</required>
46 <comment>The start offset relative to current year</comment>
47 <add>2.0</add>
48 </field>
49 <field>
50 <name>end</name>
51 <type>int</type>
52 <required>true</required>
53 <comment>The end offset relative to current year, can be negative</comment>
54 <add>2.0</add>
55 </field>
56 <field>
57 <name>minute_increment</name>
58 <type>int</type>
59 <comment>The minute increment number</comment>
60 <add>2.0</add>
61 <drop>3.1</drop>
62 </field>
63 <field>
64 <name>date_format</name>
65 <type>varchar</type>
66 <length>64</length>
67 <comment>The date type</comment>
68 <add>2.0</add>
69 </field>
70 <field>
71 <name>time_format</name>
72 <type>varchar</type>
73 <length>64</length>
74 <comment>time format</comment>
75 <add>3.1</add>
76 </field>
77 </table>