| 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 | <type>int unsigned</type> |
| 13 | <required>true</required> |
| 14 | <add>2.0</add> |
| 15 | </field> |
| 16 | <primaryKey> |
| 17 | <name>id</name> |
| 18 | <autoincrement>true</autoincrement> |
| 19 | </primaryKey> |
| 20 | <field> |
| 21 | <name>name</name> |
| 22 | <type>varchar</type> |
| 23 | <length>64</length> |
| 24 | <required>true</required> |
| 25 | <comment>The meta name for this date (fixed in code)</comment> |
| 26 | <add>2.0</add> |
| 27 | </field> |
| 28 | <index> |
| 29 | <name>index_name</name> |
| 30 | <fieldName>name</fieldName> |
| 31 | <add>2.0</add> |
| 32 | </index> |
| 33 | <field> |
| 34 | <name>description</name> |
| 35 | <type>varchar</type> |
| 36 | <length>255</length> |
| 37 | <comment>Description of this date type.</comment> |
| 38 | <add>2.0</add> |
| 39 | </field> |
| 40 | <field> |
| 41 | <name>start</name> |
| 42 | <type>int</type> |
| 43 | <required>true</required> |
| 44 | <comment>The start offset relative to current year</comment> |
| 45 | <add>2.0</add> |
| 46 | </field> |
| 47 | <field> |
| 48 | <name>end</name> |
| 49 | <type>int</type> |
| 50 | <required>true</required> |
| 51 | <comment>The end offset relative to current year, can be negative</comment> |
| 52 | <add>2.0</add> |
| 53 | </field> |
| 54 | <field> |
| 55 | <name>minute_increment</name> |
| 56 | <type>int</type> |
| 57 | <comment>The minute increment number</comment> |
| 58 | <add>2.0</add> |
| 59 | <drop>3.1</drop> |
| 60 | </field> |
| 61 | <field> |
| 62 | <name>date_format</name> |
| 63 | <type>varchar</type> |
| 64 | <length>64</length> |
| 65 | <comment>The date type</comment> |
| 66 | <add>2.0</add> |
| 67 | </field> |
| 68 | <field> |
| 69 | <name>time_format</name> |
| 70 | <type>varchar</type> |
| 71 | <length>64</length> |
| 72 | <comment>time format</comment> |
| 73 | <add>3.1</add> |
| 74 | </field> |
| 75 | </table> |