File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 11server.port =8080
22spring.application.name =spring-boot-jwt-auth
33
4- spring.datasource.url =jdbc:mysql://localhost:3306/testdb?useSSL=false
4+ spring.datasource.url =jdbc:mysql://localhost:3306/testdb
55spring.datasource.username =root
66spring.datasource.password =123456
77
88spring.jpa.properties.hibernate.dialect =org.hibernate.dialect.MySQL5InnoDBDialect
99spring.jpa.hibernate.ddl-auto =update
10+ spring.sql.init.mode =always
11+ spring.sql.init.schema-locations =classpath:init_roles.sql
1012
1113# JWT Properties
1214bezkoder.app.jwtSecret =bezKoderSecretKey
Original file line number Diff line number Diff line change 1+ INSERT INTO roles (name)
2+ VALUES (' ROLE_USER' ),
3+ (' ROLE_MODERATOR' ),
4+ (' ROLE_ADMIN' ) ON DUPLICATE KEY
5+ UPDATE name = name;
You can’t perform that action at this time.
0 commit comments