[2.03.20] Table was missing
This commit is contained in:
parent
5560c6c070
commit
3a55700bcf
@ -12,7 +12,7 @@ import java.time.LocalDateTime;
|
|||||||
public class CryptoPriceModel {
|
public class CryptoPriceModel {
|
||||||
|
|
||||||
@Id
|
@Id
|
||||||
@Column(name = "ID", nullable = false, unique = true)
|
@Column(name = "ID", nullable = false)
|
||||||
@GeneratedValue(strategy = GenerationType.AUTO)
|
@GeneratedValue(strategy = GenerationType.AUTO)
|
||||||
private int id;
|
private int id;
|
||||||
|
|
||||||
|
|||||||
@ -12,7 +12,7 @@ spring:
|
|||||||
platform: postgres
|
platform: postgres
|
||||||
jpa:
|
jpa:
|
||||||
hibernate:
|
hibernate:
|
||||||
ddl-auto: validate
|
ddl-auto: create
|
||||||
show-sql: true
|
show-sql: true
|
||||||
properties:
|
properties:
|
||||||
org.hibernate.envers.revision_field_name: revision_id
|
org.hibernate.envers.revision_field_name: revision_id
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user