[2.03.20] Table was missing

This commit is contained in:
andyjk15 2020-03-02 15:02:15 +00:00
parent 5560c6c070
commit 3a55700bcf
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ import java.time.LocalDateTime;
public class CryptoPriceModel {
@Id
@Column(name = "ID", nullable = false, unique = true)
@Column(name = "ID", nullable = false)
@GeneratedValue(strategy = GenerationType.AUTO)
private int id;

View File

@ -12,7 +12,7 @@ spring:
platform: postgres
jpa:
hibernate:
ddl-auto: validate
ddl-auto: create
show-sql: true
properties:
org.hibernate.envers.revision_field_name: revision_id