diff options
author | Florent Le Coz <louiz@louiz.org> | 2015-12-24 21:39:53 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2016-01-04 13:47:26 +0100 |
commit | 421c960df501b40e836a783400ab00dc60c3fdae (patch) | |
tree | fb3b7be54a97f71102142aaa1901284c51c1854a /database | |
parent | 9ac0d3a5766494c9c0c2074c4a21542eea195a29 (diff) | |
download | biboumi-421c960df501b40e836a783400ab00dc60c3fdae.tar.gz biboumi-421c960df501b40e836a783400ab00dc60c3fdae.tar.bz2 biboumi-421c960df501b40e836a783400ab00dc60c3fdae.tar.xz biboumi-421c960df501b40e836a783400ab00dc60c3fdae.zip |
Add a ChannelOptions table in the DB
And a way to retrieve its values, defaulting on the ServerOptions for unset
values.
Diffstat (limited to 'database')
-rw-r--r-- | database/database.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/database/database.xml b/database/database.xml index 1750b61..0688984 100644 --- a/database/database.xml +++ b/database/database.xml @@ -14,9 +14,27 @@ <field name="realname" type="string" length="1024" default=""/> <field name="verifyCert" type="boolean" default="true"/> + <field name="encodingOut" type="string" default="utf-8"/> + <field name="encodingIn" type="string" default="utf-8"/> + + <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"/> + <index unique="true"> <indexfield name="owner"/> <indexfield name="server"/> + <indexfield name="channel"/> </index> </object> |