Commit | Line | Data |
---|---|---|
6a488035 TO |
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> | |
8f069c03 | 11 | <name>id</name> |
fa6ace1a | 12 | <title>Date Preference ID</title> |
8f069c03 EM |
13 | <type>int unsigned</type> |
14 | <required>true</required> | |
15 | <add>2.0</add> | |
6a488035 TO |
16 | </field> |
17 | <primaryKey> | |
8f069c03 EM |
18 | <name>id</name> |
19 | <autoincrement>true</autoincrement> | |
6a488035 TO |
20 | </primaryKey> |
21 | <field> | |
8f069c03 | 22 | <name>name</name> |
fa6ace1a | 23 | <title>Date Preference Name</title> |
8f069c03 EM |
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> | |
6a488035 TO |
29 | </field> |
30 | <index> | |
31 | <name>index_name</name> | |
32 | <fieldName>name</fieldName> | |
33 | <add>2.0</add> | |
34 | </index> | |
35 | <field> | |
8f069c03 EM |
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> | |
6a488035 TO |
41 | </field> |
42 | <field> | |
8f069c03 EM |
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> | |
6a488035 TO |
48 | </field> |
49 | <field> | |
8f069c03 | 50 | <name>end</name> |
f3ea5182 | 51 | <title>End Offset</title> |
8f069c03 EM |
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> | |
6a488035 TO |
56 | </field> |
57 | <field> | |
8f069c03 EM |
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> | |
6a488035 TO |
63 | </field> |
64 | <field> | |
8f069c03 EM |
65 | <name>date_format</name> |
66 | <type>varchar</type> | |
67 | <length>64</length> | |
68 | <comment>The date type</comment> | |
69 | <add>2.0</add> | |
6a488035 TO |
70 | </field> |
71 | <field> | |
8f069c03 EM |
72 | <name>time_format</name> |
73 | <type>varchar</type> | |
74 | <length>64</length> | |
75 | <comment>time format</comment> | |
76 | <add>3.1</add> | |
6a488035 TO |
77 | </field> |
78 | </table> |