update view

This commit is contained in:
shoopea 2020-06-27 09:25:18 +02:00
parent 6962a7beaa
commit af5e1c0424

1
sql.go
View File

@ -627,6 +627,7 @@ func initDBViews() {
_, err = db.Exec(`CREATE VIEW obj_job_v AS _, err = db.Exec(`CREATE VIEW obj_job_v AS
SELECT oj.obj_id SELECT oj.obj_id
,oj.user_id
,o.obj_sub_type_id ,o.obj_sub_type_id
,cost.intl_id COLLATE utf8mb4_unicode_ci AS obj_sub_type ,cost.intl_id COLLATE utf8mb4_unicode_ci AS obj_sub_type
,oj.is_done ,oj.is_done