update view
This commit is contained in:
parent
af5e1c0424
commit
99597f6a72
3
sql.go
3
sql.go
@ -635,6 +635,7 @@ func initDBViews() {
|
|||||||
,oj.trigger_id
|
,oj.trigger_id
|
||||||
,(SELECT costx.intl_id FROM code_obj_sub_type costx, obj ox WHERE ox.id = oj.trigger_id AND costx.id = ox.obj_sub_type_id) COLLATE utf8mb4_unicode_ci AS trigger_sub_type
|
,(SELECT costx.intl_id FROM code_obj_sub_type costx, obj ox WHERE ox.id = oj.trigger_id AND costx.id = ox.obj_sub_type_id) COLLATE utf8mb4_unicode_ci AS trigger_sub_type
|
||||||
,oj.inserted
|
,oj.inserted
|
||||||
|
,oj.schedule
|
||||||
,oj.ended
|
,oj.ended
|
||||||
,oj.zipped
|
,oj.zipped
|
||||||
,CASE oj.zipped WHEN 0 THEN CAST(oj.payload AS CHAR(20000)) ELSE null END COLLATE utf8mb4_unicode_ci AS payload
|
,CASE oj.zipped WHEN 0 THEN CAST(oj.payload AS CHAR(20000)) ELSE null END COLLATE utf8mb4_unicode_ci AS payload
|
||||||
@ -644,7 +645,7 @@ func initDBViews() {
|
|||||||
WHERE o.id = oj.obj_id
|
WHERE o.id = oj.obj_id
|
||||||
AND cost.id = o.obj_sub_type_id;`)
|
AND cost.id = o.obj_sub_type_id;`)
|
||||||
failOnError(err, "initDBViews : create view obj_job_v")
|
failOnError(err, "initDBViews : create view obj_job_v")
|
||||||
log.Println("initDBViews : obj_shop_main_v created ...")
|
log.Println("initDBViews : obj_job_v created ...")
|
||||||
|
|
||||||
log.Println("initDBViews : Views set up")
|
log.Println("initDBViews : Views set up")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user