Add several columns to spamfilter IP & word tables for feature consistency and extensibility #1882

This commit is contained in:
Kijin Sung 2022-12-19 01:45:10 +09:00
parent e1f98e573c
commit 020b85168c
11 changed files with 94 additions and 30 deletions

View file

@ -2,6 +2,7 @@
<column name="ipaddress" type="varchar" size="60" 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="except_member" type="char" size="1" default="N" />
<column name="description" type="varchar" size="191" />
<column name="regdate" type="date" index="idx_regdate" />
</table>

View file

@ -2,5 +2,8 @@
<column name="word" type="varchar" size="100" 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="except_member" type="char" size="1" default="N" />
<column name="filter_html" type="char" size="1" default="N" />
<column name="is_regexp" type="char" size="1" default="N" />
<column name="regdate" type="date" index="idx_regdate" />
</table>