]> source.dussan.org Git - nextcloud-server.git/commitdiff
remove oc_log, as it is unused
authorJörn Friedrich Dreyer <jfd@butonic.de>
Mon, 27 Aug 2012 11:35:04 +0000 (13:35 +0200)
committerJörn Friedrich Dreyer <jfd@butonic.de>
Mon, 27 Aug 2012 11:40:48 +0000 (13:40 +0200)
add length to text columns or newer mysql will produce columns too wide

db_structure.xml

index 7e4c0bd20392a0225712194757c65f11649b8c0d..8c96fa7c39c5a7cbe9093333467f9da473c4204e 100644 (file)
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="ISO-8859-1" ?>
+<?xml version="1.0" encoding="utf-8" ?>
 <database>
 
  <name>*dbname*</name>
@@ -33,6 +33,7 @@
     <name>configvalue</name>
     <type>text</type>
     <notnull>true</notnull>
+    <length>255</length>
    </field>
 
 
 
  </table>
 
- <table>
-
-  <name>*dbprefix*log</name>
-
-  <declaration>
-
-   <field>
-    <name>id</name>
-    <type>integer</type>
-    <default>0</default>
-    <notnull>true</notnull>
-    <autoincrement>1</autoincrement>
-    <unsigned>true</unsigned>
-    <length>4</length>
-   </field>
-
-   <field>
-    <name>moment</name>
-    <type>timestamp</type>
-    <default>CURRENT_TIMESTAMP</default>
-    <notnull>true</notnull>
-   </field>
-
-   <field>
-    <name>appid</name>
-    <type>text</type>
-    <default></default>
-    <notnull>true</notnull>
-    <length>255</length>
-   </field>
-
-   <field>
-    <name>user</name>
-    <type>text</type>
-    <default></default>
-    <notnull>true</notnull>
-    <length>255</length>
-   </field>
-
-   <field>
-    <name>action</name>
-    <type>text</type>
-    <default></default>
-    <notnull>true</notnull>
-    <length>255</length>
-   </field>
-
-   <field>
-    <name>info</name>
-    <type>text</type>
-    <notnull>true</notnull>
-   </field>
-
-  </declaration>
-
- </table>
-
  <table>
 
   <name>*dbprefix*preferences</name>
     <name>configvalue</name>
     <type>text</type>
     <notnull>true</notnull>
+    <length>255</length>
    </field>
 
   </declaration>
     <name>propertyvalue</name>
     <type>text</type>
     <notnull>true</notnull>
+    <length>255</length>
    </field>
 
   </declaration>
     <name>parameters</name>
     <type>text</type>
     <notnull>true</notnull>
+    <length>255</length>
    </field>