database.xml 2.56 KB
Newer Older
1 2 3 4
<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "litesql.dtd">

<database name="BibouDB" namespace="db">
5 6 7
    <object name="GlobalOptions">
        <field name="owner" type="string" length="3071"/>

8
        <field name="maxHistoryLength" type="integer" default="20"/>
9
        <field name="recordHistory" type="boolean" default="true"/>
10 11
    </object>

12 13 14
    <object name="IrcServerOptions">
        <field name="owner" type="string" length="3071"/>
        <field name="server" type="string" length="3071"/>
15

16 17 18 19 20 21 22
        <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"/>
23
        <field name="trustedFingerprint" type="string"/>
24

25 26
        <field name="encodingOut" type="string" default="ISO-8859-1"/>
        <field name="encodingIn"  type="string" default="ISO-8859-1"/>
27

28
        <field name="maxHistoryLength" type="integer" default="20"/>
29 30 31 32 33 34 35 36 37 38 39 40 41 42
        <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"/>

43
        <field name="maxHistoryLength" type="integer" default="20"/>
44

45 46 47
        <index unique="true">
            <indexfield name="owner"/>
            <indexfield name="server"/>
48
            <indexfield name="channel"/>
49 50
        </index>
    </object>
51

52 53 54 55 56 57 58 59 60 61 62 63
    <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" />
64
    </object>
65
</database>