Skip to content

Commit

Permalink
fix: 데이터 일부 수정 #3
Browse files Browse the repository at this point in the history
  • Loading branch information
623nana committed Aug 11, 2021
1 parent 24032ed commit ef80055
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/main/resources/data-h2.sql
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
insert into user (email, identifier, name) values ('email', 'identifier', 'name');
insert into user (email, identifier, name) values ('[email protected]', '1', '김아무개');

insert into letter (contents, encrypted_id, letter_to, email, sticker, question_id, state, title, user_id)
values ('CONTENTS', 'ENCRYPTED', 'LETTER_TO', 'email', 'HAPPY', 1 , 'PENDING', 'TITLE', 1);
insert into letter (contents, encrypted_id, letter_to, email, sticker, question_id, state, title, user_id)
values ('CONTENTS1', 'ENCRYPTED1', 'LETTER_TO1', 'email', 'BLUE', 2, 'PENDING', 'TITLE1', 1);
insert into letter (contents, encrypted_id, letter_to, email, sticker, question_id, state, title, user_id, created_date)
values ('64K07Jqp7JqU7Jqp7Jqp7Jqp', 'ENCRYPTED', 'LETTER_TO', 'email', 'HAPPY', 1 , 'PENDING', 'TITLE', 1, '2021-08-11T12:09:59.342635');
insert into letter (contents, encrypted_id, letter_to, email, sticker, question_id, state, title, user_id, created_date)
values ('64K07Jqp7JqU7Jqp7Jqp7Jqp', 'ENCRYPTED1', 'LETTER_TO1', 'email', 'BLUE', 2, 'PENDING', 'TITLE1', 1, '2021-08-09T12:09:59.342635');
insert into letter (contents, encrypted_id, letter_to, email, sticker, question_id, state, title, user_id, created_date)
values ('64K07Jqp7JqU7Jqp7Jqp7Jqp', 'ENCRYPTED1', 'LETTER_TO1', 'email', 'BLUE', 8, 'PENDING', 'TITLE1', 1, '2021-08-04T12:09:59.342635');

insert into letter (contents, encrypted_id, letter_to, email, sticker, question_id, state, title, user_id)
values ('CONTENTS2', 'ENCRYPTED2', 'LETTER_TO2', '[email protected]', 'BLUE', 2, 'PENDING', 'TITLE2', 2);
insert into letter (contents, encrypted_id, letter_to, email, sticker, question_id, state, title, user_id)
values ('CONTENTS3', 'ENCRYPTED3', 'LETTER_TO3', '[email protected]', 'BLUE', 2, 'PENDING', 'TITLE3', 2);

insert into send_option (text, covid_stat) values ('테스트', 1000);
insert into send_option (text, covid_stat) values ('테스트2', 2000);
insert into send_option (text, covid_stat) values ('기본질문', 0);
insert into send_option (text, covid_stat) values ('테스트옵션', 1000);
insert into send_option (text, covid_stat) values ('테스트옵션2', 2000);
insert into send_option (text, covid_stat) values ('기본질문옵션', 0);

insert into question (text, send_option_id) values ('테스트1에 1', 1);
insert into question (text, send_option_id) values ('테스트1에 2', 1);
Expand Down

0 comments on commit ef80055

Please sign in to comment.