89df1557f0
git-svn-id: file:///home/shish/svn/shimmie2/trunk@746 7f39781d-f577-437e-ae19-be835c7a54ca
19 lines
710 B
XML
19 lines
710 B
XML
<?xml version="1.0"?>
|
|
<schema version="0.3">
|
|
<!-- FIXME: mysql utf8ness -->
|
|
<table name="bans">
|
|
<field name="id" type="I"><key/><autoincrement/></field>
|
|
<field name="banner_id" type="I"><notnull/></field>
|
|
<field name="ip" type="C" size="20"><notnull/></field>
|
|
<field name="date" type="D"><notnull/></field>
|
|
<field name="end" type="D"><notnull/></field>
|
|
<field name="reason" type="C" size="255"><notnull/></field>
|
|
<index name="bans__ip"><col>ip</col></index>
|
|
<opt platform="mysql">DEFAULT CHARSET='utf8'</opt>
|
|
</table>
|
|
|
|
<sql>
|
|
<query>DELETE FROM config WHERE name='ext_ipban_version'</query>
|
|
<query>INSERT INTO config(name, value) VALUES('ext_ipban_version', 5)</query>
|
|
</sql>
|
|
</schema>
|