diff options
author | louiz’ <louiz@louiz.org> | 2016-08-12 16:39:19 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2016-08-12 16:39:19 +0200 |
commit | 8ec823be4fc587abb7282a06a12f9df9c37810d2 (patch) | |
tree | 7ce77108ac2e6da63ee89a4f5fb6dbc97fe8a67f /database | |
parent | 7ffe278e0556d222291840dc91c785ccf824fee5 (diff) | |
download | biboumi-8ec823be4fc587abb7282a06a12f9df9c37810d2.tar.gz biboumi-8ec823be4fc587abb7282a06a12f9df9c37810d2.tar.bz2 biboumi-8ec823be4fc587abb7282a06a12f9df9c37810d2.tar.xz biboumi-8ec823be4fc587abb7282a06a12f9df9c37810d2.zip |
Save received and sent messages into the database
Diffstat (limited to 'database')
-rw-r--r-- | database/database.xml | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/database/database.xml b/database/database.xml index f102db0..fc67caf 100644 --- a/database/database.xml +++ b/database/database.xml @@ -39,8 +39,17 @@ </index> </object> - <object name="LogLine"> - <field name="date" type="date" /> - <field name="body" type="string" length="4096"/> + <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> |