summaryrefslogtreecommitdiff
path: root/database
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2015-09-18 21:49:54 +0200
committerFlorent Le Coz <louiz@louiz.org>2015-09-18 22:09:26 +0200
commit88ae2599f6dbf655e8806c9b4619ec089425683b (patch)
tree850cb2048401efff1650a2ce29b41df8464c7092 /database
parent33fa1dcd5a87035de1d9b8df65e5c7551b4bbd1b (diff)
downloadbiboumi-88ae2599f6dbf655e8806c9b4619ec089425683b.tar.gz
biboumi-88ae2599f6dbf655e8806c9b4619ec089425683b.tar.bz2
biboumi-88ae2599f6dbf655e8806c9b4619ec089425683b.tar.xz
biboumi-88ae2599f6dbf655e8806c9b4619ec089425683b.zip
Introduce an optional Database module
Uses litesql
Diffstat (limited to 'database')
-rw-r--r--database/database.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/database/database.xml b/database/database.xml
new file mode 100644
index 0000000..f3a005c
--- /dev/null
+++ b/database/database.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0"?>
+<!DOCTYPE database SYSTEM "litesql.dtd">
+
+<database name="BibouDB" namespace="db">
+ <object name="IrcServerOptions">
+ <field name="owner" type="string" length="3071"/>
+ <field name="server" type="string" length="3071"/>
+
+ <field name="requireTls" type="boolean" default="true"/>
+ <field name="pass" type="string" length="1024"/>
+
+ <index unique="true">
+ <indexfield name="owner"/>
+ <indexfield name="server"/>
+ </index>
+
+ </object>
+</database>