summaryrefslogtreecommitdiff
path: root/database/database.xml
blob: 277d03f89275bf43b52f1a48298acf2a37539a57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?xml version="1.0"?>
<!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"/>

        <field name="pass" type="string" length="1024" default=""/>
        <field name="afterConnectionCommand" type="string" length="510" default=""/>
        <field name="tlsPorts" type="string" length="4096" default="6697;6670" />
        <field name="ports" type="string" length="4096" default="6667" />
        <field name="username" type="string" length="1024" default=""/>
        <field name="realname" type="string" length="1024" default=""/>
        <field name="verifyCert" type="boolean" default="true"/>
        <field name="trustedFingerprint" type="string"/>

        <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"/>
        </index>
    </object>

    <object name="IrcChannelOptions">
        <field name="owner" type="string" length="3071"/>
        <field name="server" type="string" length="3071"/>
        <field name="channel" type="string" length="1024"/>

        <field name="encodingOut" type="string"/>
        <field name="encodingIn"  type="string"/>

        <field name="maxHistoryLength" type="integer"/>

        <index unique="true">
            <indexfield name="owner"/>
            <indexfield name="server"/>
            <indexfield name="channel"/>
        </index>
    </object>

    <object name="MucLogLine">
        <field name="uuid" type="string" length="36" />
        <!-- The bare JID of the user for which we stored the line. It's
        the JID associated with the Bridge -->
        <field name="owner" type="string" length="4096" />
        <!-- The room IID -->
        <field name="ircChanName" type="string" length="4096" />
        <field name="ircServerName" type="string" length="4096" />

        <field name="date" type="datetime" />
        <field name="body" type="string" length="65536"/>
        <field name="nick" type="string" length="4096" />
    </object>
</database>