diff options
author | jfd <jfd@underverse> | 2012-07-30 22:52:11 +0400 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2012-07-31 21:00:54 +0400 |
commit | 3aff7a298c23837b070507a0644b89a8a5c026be (patch) | |
tree | a5aaa7fe10276bfc38a7ce40bd699121791cdad2 /db_structure.xml | |
parent | 727f4357fb900eed691167ca9559e3c0771f77af (diff) |
use CURRENT_TIMESTAMP in default column definitions (sqlite, mysql, postgres and oracle DO understand it), change clob columns to text (clob will give sorting and uniqueness problems and in general is not what we want)
Diffstat (limited to 'db_structure.xml')
-rw-r--r-- | db_structure.xml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/db_structure.xml b/db_structure.xml index 94567b4d539..992d1db4141 100644 --- a/db_structure.xml +++ b/db_structure.xml @@ -31,7 +31,7 @@ <field> <name>configvalue</name> - <type>clob</type> + <type>text</type> <notnull>true</notnull> </field> @@ -335,7 +335,7 @@ <field> <name>uri</name> - <type>clob</type> + <type>text</type> <notnull>false</notnull> </field> @@ -362,7 +362,7 @@ <field> <name>moment</name> <type>timestamp</type> - <default>0000-00-00 00:00:00</default> + <default>CURRENT_TIMESTAMP</default> <notnull>true</notnull> </field> @@ -392,7 +392,7 @@ <field> <name>info</name> - <type>clob</type> + <type>text</type> <notnull>true</notnull> </field> @@ -432,7 +432,7 @@ <field> <name>configvalue</name> - <type>clob</type> + <type>text</type> <notnull>true</notnull> </field> @@ -472,7 +472,7 @@ <field> <name>propertyvalue</name> - <type>clob</type> + <type>text</type> <notnull>true</notnull> </field> |