spring auto create schema postgresql code example
Example 1: create database schema automatically in jpa spring boot
spring.jpa.database-platform=org.hibernate.dialect.MySQL5InnoDBDialect
spring.jpa.hibernate.ddl-auto=update
spring.datasource.driverClassName=com.mysql.jdbc.Driver
spring.datasource.url=jdbc:mysql://localhost:3306/test
spring.datasource.username=test
spring.datasource.password=
Example 2: int4 spring jpa failling create command
@Table(name="likes")