[2차][DB] 오픈시 필요한 dml 추가
This commit is contained in:
18
core/src/main/resources/sql/data/04_second_open.sql
Normal file
18
core/src/main/resources/sql/data/04_second_open.sql
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
|
||||
-- 입력현황 메뉴 링크
|
||||
update uri set uri = '/status/daily', show_on_navi = true, order_no = 1, updated_at = now(), updated_by = 'INIT_DATA' where id = 'uri.front.status' ;
|
||||
-- 입력현황 상세 등록
|
||||
INSERT INTO uri
|
||||
(id, "text", uri, app_type, order_no, show_on_navi, parent_id, created_at, created_by, updated_at, updated_by, is_deleted)
|
||||
VALUES('uri.front.status.{{pathVar}}', '입력현황 상세', '/status/daily/{{pathVar}}/{{pathVar}}', 'FRONT', 0, false, 'uri.front.status', now(), 'INIT_DATA', now(), 'INIT_DATA', false);
|
||||
|
||||
-- 통계 메뉴 삭제
|
||||
delete from uri where id = 'uri.front.statistics';
|
||||
|
||||
-- 이용안내 메뉴 등록
|
||||
INSERT INTO uri
|
||||
(id, "text", uri, app_type, order_no, show_on_navi, parent_id, created_at, created_by, updated_at, updated_by, is_deleted)
|
||||
VALUES('uri.front.guide', '이용안내', '/guide', 'FRONT', 2, true, 'uri.front', now(), 'INIT_DATA', now(), 'INIT_DATA', false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user