@@ -26,21 +26,22 @@ INSERT INTO problem (problem_id,
2626 answer_type,
2727 is_confirmed,
2828 recommended_minute,
29- recommended_second)
29+ recommended_second,
30+ deleted)
3031VALUES (1 , ' 24052001001' , 1 , 1 , ' GICHUL_PROBLEM' , ' 제목1' , ' 1' , 5 , ' 기존 문제 설명' ,
3132 ' mainProblem.png' , ' mainAnalysis.png' , ' mainHandwriting1.png' , ' readingTip.png' , ' seniorTip.png' ,
3233 ' prescription1.png, prescription2.png' , ' MULTIPLE_CHOICE' , false,
33- 30 , 0 ),
34+ 30 , 0 , false ),
3435
3536 (2 , ' 24052001002' , 1 , 2 , ' GICHUL_PROBLEM' , ' 제목2' , ' 2' , 4 , ' 문제 2 설명' ,
3637 ' mainProblem2.png' , ' mainAnalysis2.png' , ' mainHandwriting2.png' , ' readingTip2.png' , ' seniorTip2.png' ,
3738 ' prescription3.png, prescription4.png' , ' MULTIPLE_CHOICE' , false,
38- 20 , 30 ),
39+ 20 , 30 , false ),
3940
4041 (3 , ' 24052001003' , 1 , 3 , ' GICHUL_PROBLEM' , ' 제목3' , ' 3' , 3 , ' 문제 3 설명' ,
4142 ' mainProblem3.png' , ' mainAnalysis3.png' , ' mainHandwriting3.png' , ' readingTip3.png' , ' seniorTip3.png' ,
4243 ' prescription5.png, prescription6.png' , ' SHORT_ANSWER' , true,
43- 15 , 45 );
44+ 15 , 45 , false );
4445
4546-- 자식 문제 데이터 삽입
4647INSERT INTO child_problem (child_problem_id,
@@ -49,11 +50,12 @@ INSERT INTO child_problem (child_problem_id,
4950 answer_type,
5051 answer,
5152 sequence,
52- prescription_image_urls)
53- VALUES (1 , 1 , ' child1.png' , ' MULTIPLE_CHOICE' , ' 1' , 0 , ' child1_prescription1.png, child1_prescription2.png' ),
54- (2 , 1 , ' child2.png' , ' SHORT_ANSWER' , ' 정답2' , 1 , ' child2_prescription1.png, child2_prescription2.png' ),
55- (3 , 2 , ' child3.png' , ' MULTIPLE_CHOICE' , ' 2' , 0 , ' child3_prescription1.png, child3_prescription2.png' ),
56- (4 , 3 , ' child4.png' , ' SHORT_ANSWER' , ' 3' , 0 , ' child4_prescription1.png, child4_prescription2.png' );
53+ prescription_image_urls,
54+ deleted)
55+ VALUES (1 , 1 , ' child1.png' , ' MULTIPLE_CHOICE' , ' 1' , 0 , ' child1_prescription1.png, child1_prescription2.png' , false),
56+ (2 , 1 , ' child2.png' , ' SHORT_ANSWER' , ' 정답2' , 1 , ' child2_prescription1.png, child2_prescription2.png' , false),
57+ (3 , 2 , ' child3.png' , ' MULTIPLE_CHOICE' , ' 2' , 0 , ' child3_prescription1.png, child3_prescription2.png' , false),
58+ (4 , 3 , ' child4.png' , ' SHORT_ANSWER' , ' 3' , 0 , ' child4_prescription1.png, child4_prescription2.png' , false);
5759
5860-- 문제-컨셉 태그 연결
5961INSERT INTO problem_concept (problem_id, concept_tag_id)
@@ -94,20 +96,22 @@ INSERT INTO problem (problem_id,
9496 answer_type,
9597 is_confirmed,
9698 recommended_minute,
97- recommended_second)
99+ recommended_second,
100+ deleted)
98101VALUES (4 , ' 24052001004' , 1 , 4 , ' GICHUL_PROBLEM' , ' 제목4' , ' 4' , 1 , ' 유효한 문제로 수정' ,
99102 ' mainProblem4.png' , ' mainAnalysis4.png' , ' mainHandwriting4.png' , ' readingTip4.png' , ' seniorTip4.png' ,
100103 ' prescription7.png, prescription8.png' , ' MULTIPLE_CHOICE' , false,
101- 20 , 0 );
104+ 20 , 0 , false );
102105
103106-- problem 4에 대한 자식 문제 추가
104107INSERT INTO child_problem (child_problem_id,
105108 problem_id,
106109 image_url,
107110 answer_type,
108111 answer,
109- sequence)
110- VALUES (5 , 4 , ' child5.png' , ' MULTIPLE_CHOICE' , ' 4' , 0 );
112+ sequence,
113+ deleted)
114+ VALUES (5 , 4 , ' child5.png' , ' MULTIPLE_CHOICE' , ' 4' , 0 , false);
111115
112116-- problem 4와 자식 문제에 대한 컨셉 태그 추가
113117INSERT INTO problem_concept (problem_id, concept_tag_id)
0 commit comments