mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-25 21:32:51 +09:00
Prevent utf8mb4 overflow in spamfilter tables
This commit is contained in:
parent
2db14c1ea9
commit
3d571142a4
2 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<table name="spamfilter_denied_ip">
|
||||
<column name="ipaddress" type="varchar" size="250" notnull="notnull" primary_key="primary_key" />
|
||||
<column name="description" type="varchar" size="250" />
|
||||
<column name="ipaddress" type="varchar" size="60" utf8mb4="false" notnull="notnull" primary_key="primary_key" />
|
||||
<column name="description" type="varchar" size="255" />
|
||||
<column name="regdate" type="date" index="idx_regdate" />
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<table name="spamfilter_denied_word">
|
||||
<column name="word" type="varchar" size="250" notnull="notnull" primary_key="primary_key" />
|
||||
<column name="word" type="varchar" size="250" utf8mb4="false" notnull="notnull" primary_key="primary_key" />
|
||||
<column name="hit" type="number" notnull="notnull" default="0" index="idx_hit" />
|
||||
<column name="latest_hit" type="date" index="idx_latest_hit" />
|
||||
<column name="regdate" type="date" index="idx_regdate" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue