summaryrefslogtreecommitdiff
path: root/database
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-08-22 00:38:44 +0200
committerlouiz’ <louiz@louiz.org>2016-08-22 00:38:44 +0200
commit6776b827d243ec0e018eac8233c5df402030640e (patch)
tree261c35a77dacc928270601ac56424cab82de5b59 /database
parent992fa938951558f4515145c9b82af0123c979a29 (diff)
downloadbiboumi-6776b827d243ec0e018eac8233c5df402030640e.tar.gz
biboumi-6776b827d243ec0e018eac8233c5df402030640e.tar.bz2
biboumi-6776b827d243ec0e018eac8233c5df402030640e.tar.xz
biboumi-6776b827d243ec0e018eac8233c5df402030640e.zip
Add a global configure ad-hoc command, with max history length
Diffstat (limited to 'database')
-rw-r--r--database/database.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/database/database.xml b/database/database.xml
index fc67caf..277d03f 100644
--- a/database/database.xml
+++ b/database/database.xml
@@ -2,6 +2,12 @@
<!DOCTYPE database SYSTEM "litesql.dtd">
<database name="BibouDB" namespace="db">
+ <object name="GlobalOptions">
+ <field name="owner" type="string" length="3071"/>
+
+ <field name="maxHistoryLength" type="integer"/>
+ </object>
+
<object name="IrcServerOptions">
<field name="owner" type="string" length="3071"/>
<field name="server" type="string" length="3071"/>
@@ -18,6 +24,8 @@
<field name="encodingOut" type="string" default="ISO-8859-1"/>
<field name="encodingIn" type="string" default="ISO-8859-1"/>
+ <field name="maxHistoryLength" type="integer"/>
+
<index unique="true">
<indexfield name="owner"/>
<indexfield name="server"/>
@@ -32,6 +40,8 @@
<field name="encodingOut" type="string"/>
<field name="encodingIn" type="string"/>
+ <field name="maxHistoryLength" type="integer"/>
+
<index unique="true">
<indexfield name="owner"/>
<indexfield name="server"/>