This commit is contained in:
shoopea 2019-12-29 16:40:52 +08:00
parent c3c70fcdd7
commit 011f5c1200

View File

@ -5,7 +5,7 @@ import (
) )
func resetMsgParsingRules2() error { func resetMsgParsingRules2() error {
var rules []MessageParsingRule{} var rules []MessageParsingRule
_, err := db.Exec(`TRUNCATE TABLE msg_rules;`) _, err := db.Exec(`TRUNCATE TABLE msg_rules;`)
logOnError(err, "resetMsgParsingRules2 : truncate table msg_rules") logOnError(err, "resetMsgParsingRules2 : truncate table msg_rules")
if err != nil { if err != nil {