Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added default values for datetime fields

  • Loading branch information...
commit 794d8721c0866dd0d58121daa85ee71a83624cf9 1 parent c75d22a
diml authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 blocks/search/db/install.xml
4 blocks/search/db/install.xml
View
@@ -12,8 +12,8 @@
<FIELD NAME="itemtype" TYPE="char" LENGTH="32" NOTNULL="true" DEFAULT="standard" SEQUENCE="false" ENUM="false" PREVIOUS="doctype" NEXT="title"/>
<FIELD NAME="title" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="itemtype" NEXT="url"/>
<FIELD NAME="url" TYPE="char" LENGTH="255" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="title" NEXT="docdate"/>
- <FIELD NAME="docdate" TYPE="datetime" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="url" NEXT="updated"/>
- <FIELD NAME="updated" TYPE="datetime" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="docdate" NEXT="courseid"/>
+ <FIELD NAME="docdate" TYPE="datetime" NOTNULL="true" DEFAULT="'0000-00-00 00:00:00'" SEQUENCE="false" ENUM="false" PREVIOUS="url" NEXT="updated"/>
+ <FIELD NAME="updated" TYPE="datetime" NOTNULL="true" DEFAULT="'0000-00-00 00:00:00'" SEQUENCE="false" ENUM="false" PREVIOUS="docdate" NEXT="courseid"/>
<FIELD NAME="courseid" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="updated" NEXT="groupid"/>
<FIELD NAME="groupid" TYPE="int" LENGTH="10" NOTNULL="true" UNSIGNED="true" DEFAULT="0" SEQUENCE="false" ENUM="false" PREVIOUS="courseid"/>
</FIELDS>
Please sign in to comment.
Something went wrong with that request. Please try again.