Skip to content

Commit 4ab9cc8

Browse files
authored
Merge pull request #79 from SWU-Elixir/feat/76-add-challenge-dummy-data
feat: 챌린지 더미 데이터 추가
2 parents 9e9b9dd + 326f6b1 commit 4ab9cc8

File tree

1 file changed

+118
-0
lines changed

1 file changed

+118
-0
lines changed

src/main/resources/data.sql

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3066,3 +3066,121 @@ INSERT INTO diet_log_ingredient(diet_log_id, ingredient_id)
30663066
VALUES (8, 313); -- 어묵
30673067
INSERT INTO diet_log_ingredient(diet_log_id, ingredient_id)
30683068
VALUES (8, 54); -- 쫄면
3069+
3070+
-- 챌린지 더미 데이터
3071+
-- 6월
3072+
INSERT INTO challenge (
3073+
name, description, purpose, month, year, achievement_name,
3074+
step1goal1type, step1goal2type, step2goal1type, step2goal2type,
3075+
step3goal1type, step3goal2type, step4goal1type, step4goal2type,
3076+
step1goal1desc, step1goal2desc, step2goal1desc, step2goal2desc,
3077+
step3goal1desc, step3goal2desc, step4goal1desc, step4goal2desc,
3078+
achievement_image_url, gray_achievement_image_url
3079+
)
3080+
VALUES (
3081+
"6월 챌린지",
3082+
"설명- 6월 챌린지입니다.(식재료: 오이 id: 1166)",
3083+
"목적- 6월 챌린지입니다.",
3084+
6, 2025,
3085+
"비타민 수호자",
3086+
'DIET_SEASONAL_ONCE', 'DIET_LUNCH', 'DIET_SEASONAL_ONCE', 'DIET_BREAKFAST',
3087+
'DIET_SEASONAL_ONCE', 'DIET_THREE_MEALS', 'RECIPE_SEASONAL_ONCE', 'DIET_60_A_MONTH',
3088+
'하루 한 끼 재철 식재료를 포함한 식사', '점심 챙겨 먹기', '하루 한 끼 재철 식재료를 포함한 식사', '아침 챙겨 먹기',
3089+
'하루 한 끼 재철 식재료를 포함한 식사', '하루 3끼 식단 기록', '재철 식재료를 활용한 레시피 작성', '1달 동안 누적 60끼 식단 기록',
3090+
'https://example.com/images/color_6.png',
3091+
'https://example.com/images/gray_6.png'
3092+
);
3093+
3094+
-- 5월
3095+
INSERT INTO challenge (
3096+
name, description, purpose, month, year, achievement_name,
3097+
step1goal1type, step1goal2type, step2goal1type, step2goal2type,
3098+
step3goal1type, step3goal2type, step4goal1type, step4goal2type,
3099+
step1goal1desc, step1goal2desc, step2goal1desc, step2goal2desc,
3100+
step3goal1desc, step3goal2desc, step4goal1desc, step4goal2desc,
3101+
achievement_image_url, gray_achievement_image_url
3102+
)
3103+
VALUES (
3104+
"5월 봄맞이 챌린지",
3105+
"설명- 5월 챌린지입니다.(식재료: 딸기 id: 142)",
3106+
"목적- 5월 챌린지입니다.",
3107+
5, 2025,
3108+
"비타민 수호자",
3109+
'DIET_SEASONAL_ONCE', 'DIET_LUNCH', 'DIET_SEASONAL_ONCE', 'DIET_BREAKFAST',
3110+
'DIET_SEASONAL_ONCE', 'DIET_THREE_MEALS', 'RECIPE_SEASONAL_ONCE', 'DIET_60_A_MONTH',
3111+
'하루 한 끼 재철 식재료를 포함한 식사', '점심 챙겨 먹기', '하루 한 끼 재철 식재료를 포함한 식사', '아침 챙겨 먹기',
3112+
'하루 한 끼 재철 식재료를 포함한 식사', '하루 3끼 식단 기록', '재철 식재료를 활용한 레시피 작성', '1달 동안 누적 60끼 식단 기록',
3113+
'https://example.com/images/color_5.png',
3114+
'https://example.com/images/gray_5.png'
3115+
);
3116+
3117+
3118+
-- 4월
3119+
INSERT INTO challenge (
3120+
name, description, purpose, month, year, achievement_name,
3121+
step1goal1type, step1goal2type, step2goal1type, step2goal2type,
3122+
step3goal1type, step3goal2type, step4goal1type, step4goal2type,
3123+
step1goal1desc, step1goal2desc, step2goal1desc, step2goal2desc,
3124+
step3goal1desc, step3goal2desc, step4goal1desc, step4goal2desc,
3125+
achievement_image_url, gray_achievement_image_url
3126+
)
3127+
VALUES (
3128+
"4월 챌린지",
3129+
"설명- 4월 챌린지입니다.(식재료: 호두 id: 47)",
3130+
"목적- 4월 챌린지입니다.",
3131+
4, 2025,
3132+
"비타민 수호자",
3133+
'DIET_SEASONAL_ONCE', 'DIET_LUNCH', 'DIET_SEASONAL_ONCE', 'DIET_BREAKFAST',
3134+
'DIET_SEASONAL_ONCE', 'DIET_THREE_MEALS', 'RECIPE_SEASONAL_ONCE', 'DIET_60_A_MONTH',
3135+
'하루 한 끼 재철 식재료를 포함한 식사', '점심 챙겨 먹기', '하루 한 끼 재철 식재료를 포함한 식사', '아침 챙겨 먹기',
3136+
'하루 한 끼 재철 식재료를 포함한 식사', '하루 3끼 식단 기록', '재철 식재료를 활용한 레시피 작성', '1달 동안 누적 60끼 식단 기록',
3137+
'https://example.com/images/color_4.png',
3138+
'https://example.com/images/gray_4.png'
3139+
);
3140+
3141+
-- 3월
3142+
INSERT INTO challenge (
3143+
name, description, purpose, month, year, achievement_name,
3144+
step1goal1type, step1goal2type, step2goal1type, step2goal2type,
3145+
step3goal1type, step3goal2type, step4goal1type, step4goal2type,
3146+
step1goal1desc, step1goal2desc, step2goal1desc, step2goal2desc,
3147+
step3goal1desc, step3goal2desc, step4goal1desc, step4goal2desc,
3148+
achievement_image_url, gray_achievement_image_url
3149+
)
3150+
VALUES (
3151+
"3월 챌린지",
3152+
"설명- 3월 챌린지입니다.(식재료: 쑥 id: 1142)",
3153+
"목적- 3월 챌린지입니다.",
3154+
3, 2025,
3155+
"비타민 수호자",
3156+
'DIET_SEASONAL_ONCE', 'DIET_LUNCH', 'DIET_SEASONAL_ONCE', 'DIET_BREAKFAST',
3157+
'DIET_SEASONAL_ONCE', 'DIET_THREE_MEALS', 'RECIPE_SEASONAL_ONCE', 'DIET_60_A_MONTH',
3158+
'하루 한 끼 재철 식재료를 포함한 식사', '점심 챙겨 먹기', '하루 한 끼 재철 식재료를 포함한 식사', '아침 챙겨 먹기',
3159+
'하루 한 끼 재철 식재료를 포함한 식사', '하루 3끼 식단 기록', '재철 식재료를 활용한 레시피 작성', '1달 동안 누적 60끼 식단 기록',
3160+
'https://example.com/images/color_3.png',
3161+
'https://example.com/images/gray_3.png'
3162+
);
3163+
3164+
-- 2월
3165+
INSERT INTO challenge (
3166+
name, description, purpose, month, year, achievement_name,
3167+
step1goal1type, step1goal2type, step2goal1type, step2goal2type,
3168+
step3goal1type, step3goal2type, step4goal1type, step4goal2type,
3169+
step1goal1desc, step1goal2desc, step2goal1desc, step2goal2desc,
3170+
step3goal1desc, step3goal2desc, step4goal1desc, step4goal2desc,
3171+
achievement_image_url, gray_achievement_image_url
3172+
)
3173+
VALUES (
3174+
"2월 챌린지",
3175+
"설명- 2월 챌린지입니다.(식재료: 봄동 id: 1111)",
3176+
"목적- 2월 챌린지입니다.",
3177+
2, 2025,
3178+
"비타민 수호자",
3179+
'DIET_SEASONAL_ONCE', 'DIET_LUNCH', 'DIET_SEASONAL_ONCE', 'DIET_BREAKFAST',
3180+
'DIET_SEASONAL_ONCE', 'DIET_THREE_MEALS', 'RECIPE_SEASONAL_ONCE', 'DIET_60_A_MONTH',
3181+
'하루 한 끼 재철 식재료를 포함한 식사', '점심 챙겨 먹기', '하루 한 끼 재철 식재료를 포함한 식사', '아침 챙겨 먹기',
3182+
'하루 한 끼 재철 식재료를 포함한 식사', '하루 3끼 식단 기록', '재철 식재료를 활용한 레시피 작성', '1달 동안 누적 60끼 식단 기록',
3183+
'https://example.com/images/color_2.png',
3184+
'https://example.com/images/gray_2.png'
3185+
);
3186+

0 commit comments

Comments
 (0)