forked from codesquad-issue-team-05/issue-tracker-max
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
codesquad-issue-team-05#80 refactor : issue service 리팩토링
- Loading branch information
Showing
8 changed files
with
63 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
INSERT INTO users(email, password, profile_img, name, login_type) | ||
VALUES ("[email protected]", | ||
"$2a$10$m3yYBH1ZmolUrEA0IFjgFOFaIE2g7/Br9xgQKPZGRz6D20dGC2S8.", | ||
"https://upload.wikimedia.org/wikipedia/commons/1/17/Enhydra_lutris_face.jpg", | ||
"light", "local"); | ||
VALUES ('[email protected]', | ||
'$2a$10$m3yYBH1ZmolUrEA0IFjgFOFaIE2g7/Br9xgQKPZGRz6D20dGC2S8.', | ||
'https://upload.wikimedia.org/wikipedia/commons/1/17/Enhydra_lutris_face.jpg', | ||
'light', 'local'); | ||
|
||
INSERT INTO users(email, password, profile_img, name, login_type) | ||
VALUES ("[email protected]", | ||
"$2a$10$SVqof3WP3MleyIdSTQdaneZEfMk8ezFgOkW2voRY.TxzNZIotChJe", | ||
"https://upload.wikimedia.org/wikipedia/commons/1/17/Enhydra_lutris_face.jpg", | ||
"gamgyul", "local"); | ||
VALUES ('[email protected]', | ||
'$2a$10$SVqof3WP3MleyIdSTQdaneZEfMk8ezFgOkW2voRY.TxzNZIotChJe', | ||
'https://upload.wikimedia.org/wikipedia/commons/1/17/Enhydra_lutris_face.jpg', | ||
'gamgyul', 'local'); | ||
|
||
INSERT INTO users(email, password, profile_img, name, login_type) | ||
VALUES ("[email protected]", | ||
"$2a$10$GSAMSZ7WdI8Dvv.A.9bf7uOnRqp9E/esLRUxuwzSnb0uSgCUx4VXS", | ||
"https://upload.wikimedia.org/wikipedia/commons/1/17/Enhydra_lutris_face.jpg", | ||
"sio", "local"); | ||
VALUES ('[email protected]', | ||
'$2a$10$GSAMSZ7WdI8Dvv.A.9bf7uOnRqp9E/esLRUxuwzSnb0uSgCUx4VXS', | ||
'https://upload.wikimedia.org/wikipedia/commons/1/17/Enhydra_lutris_face.jpg', | ||
'sio', 'local'); | ||
|
||
-- issues | ||
INSERT INTO issues (milestone_id, user_id, title, content) | ||
|
@@ -38,11 +38,11 @@ VALUES ('sprint1', '4번마일스톤', '2023-09-20', true); | |
|
||
-- label | ||
INSERT INTO labels (name, description, background_color, text_color) | ||
VALUES ("1번라벨", "설명1", "#111", "#222"); | ||
VALUES ('1번라벨', '설명1', '#111', '#222'); | ||
INSERT INTO labels (name, description, background_color, text_color) | ||
VALUES ("2번라벨", "설명2", "#222", "#222"); | ||
VALUES ('2번라벨', '설명2', '#222', '#222'); | ||
INSERT INTO labels (name, description, background_color, text_color) | ||
VALUES ("3번라벨", "설명3", "#333", "#222"); | ||
VALUES ('3번라벨', '설명3', '#333', '#222'); | ||
|
||
-- label_issue | ||
INSERT INTO issues_labels (issue_id, label_id) | ||
|