Add script to delete old logs

This commit is contained in:
Kijin Sung 2018-11-20 15:31:34 +09:00
parent eeb74c3257
commit a228f0888b
2 changed files with 74 additions and 0 deletions

View file

@ -0,0 +1,8 @@
<query id="deleteLog" action="delete">
<tables>
<table name="spamfilter_log" />
</tables>
<conditions>
<condition operation="less" column="regdate" var="regdate" notnull="notnull" />
</conditions>
</query>