Merge pull request #19086 from agileware/CIVICRM-1617
[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 <title>End Offset</title>
52 <type>int</type>
53 <required>true</required>
54 <comment>The end offset relative to current year, can be negative</comment>
55 <add>2.0</add>
56 </field>
57 <field>
58 <name>minute_increment</name>
59 <type>int</type>
60 <comment>The minute increment number</comment>
61 <add>2.0</add>
62 <drop>3.1</drop>
63 </field>
64 <field>
65 <name>date_format</name>
66 <type>varchar</type>
67 <length>64</length>
68 <comment>The date type</comment>
69 <add>2.0</add>
70 </field>
71 <field>
72 <name>time_format</name>
73 <type>varchar</type>
74 <length>64</length>
75 <comment>time format</comment>
76 <add>3.1</add>
77 </field>
78 </table>