Simple spring + Kotlin + JPA application
- Policy
- Post
- User
Using flyway
- Rule : V{date}{time}__{Description}
- Just run modify database
make file and set
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/notice_board?serverTimezone=UTC&characterEncoding=UTF-8
username: {YOUR}
password: {YOUR}
flyway:
enabled: true
baseline-on-migrate: true
url: jdbc:mysql://localhost:3306/notice_board?serverTimezone=UTC&characterEncoding=UTF-8
user: {YOUR}
password: {YOUR}
http://localhost:8080/swagger-ui/index.html#/
some code
- Donghyuk Lee, [email protected]
- MIT license.