fix msg_rules_v

This commit is contained in:
shoopea 2019-08-27 12:08:18 +08:00
parent e2c8e45bbe
commit 2e0040edda

2
sql.go
View File

@ -300,7 +300,7 @@ func initDB() {
,r.descn COLLATE utf8mb4_unicode_ci AS descn ,r.descn COLLATE utf8mb4_unicode_ci AS descn
,r.rule COLLATE utf8mb4_unicode_ci AS rule ,r.rule COLLATE utf8mb4_unicode_ci AS rule
,cost.intl_id AS msg_type ,cost.intl_id AS msg_type
FROM msg_rule r FROM msg_rules r
,code_obj_sub_type cost ,code_obj_sub_type cost
WHERE cost.id = r.msg_type_id;`) WHERE cost.id = r.msg_type_id;`)
failOnError(err, "initDB : create table msg_rules_v") failOnError(err, "initDB : create table msg_rules_v")