fix shop main view

This commit is contained in:
shoopea 2020-02-07 11:14:02 +08:00
parent def808d49a
commit 571d054359

8
sql.go
View File

@ -583,17 +583,17 @@ func initDBViews() {
,omsm.link COLLATE utf8mb4_unicode_ci AS link
,omsm.number
,omsm.user COLLATE utf8mb4_unicode_ci AS user
,oc.name COLLATE utf8mb4_unicode_ci AS castle
,omsm.mana
,omsm.mana_total
,omsm.class COLLATE utf8mb4_unicode_ci AS class
,obn.name COLLATE utf8mb4_unicode_ci AS castle
,omsm.fees COLLATE utf8mb4_unicode_ci AS fees
,omsm.guru COLLATE utf8mb4_unicode_ci AS guru
,omsm.open
,omsm.castle_id
FROM obj_msg_shop_main omsm
,obj_name obn
WHERE obn.obj_id = omsm.castle_id
AND obn.priority = 0;`)
,obj_castle oc
WHERE oc.obj_id = omsm.castle_id;`)
failOnError(err, "initDBViews : create view obj_shop_main_v")
log.Println("initDBViews : obj_shop_main_v created ...")