db 더미데이터 추가
resuources/db/data.sql
insert into user_tb(username, password, email) values('dummy1', '1234', 'dummy@gmail.com');
application.yml
sql:
init:
data-locations:
- classpath:db/data.sql # classpath:resources폴더 # 더미데이터 추가하려면 1
jpa:
defer-datasource-initialization: true # 더미데이터 추가하려면2