Skip to content

Commit

Permalink
refactor: Instrument 순서 변경 및 img url 추가 (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeeeyeon authored Aug 11, 2022
1 parent 857ddc9 commit 227b596
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,14 @@ public class InstrumentService {

@PostConstruct
public void initialize() {
List<String> names = List.of("보컬", "피아노", "드럼", "기타", "베이스", "기타");
List<String> imgUrls = List.of("https://...", "https://...", "https://...", "https://...", "https://...",
"https://...");
List<String> names = List.of("피아노", "기타", "베이스", "드럼", "보컬", "그외 악기");
List<String> imgUrls = List.of(
"https://artistack-bucket.s3.ap-northeast-2.amazonaws.com/instrument/piano300*300.png",
"https://artistack-bucket.s3.ap-northeast-2.amazonaws.com/instrument/guitar300*300.png",
"https://artistack-bucket.s3.ap-northeast-2.amazonaws.com/instrument/base300*300.png",
"https://artistack-bucket.s3.ap-northeast-2.amazonaws.com/instrument/drum300*300.png",
"https://artistack-bucket.s3.ap-northeast-2.amazonaws.com/instrument/vocal300*300.png",
"https://artistack-bucket.s3.ap-northeast-2.amazonaws.com/instrument/etc300*300.png");

for (int i = 1; i < names.size(); i++) {
instrumentRepository.save(
Expand Down

0 comments on commit 227b596

Please sign in to comment.