From 4104aa04cd99a48eaaa60d38fa7136d095e15407 Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Wed, 3 Apr 2019 10:39:55 +0400 Subject: [PATCH] fixes for wrong build. entities always extends BaseEntity, tables must contains version column --- src/main/java/ru/ulstu/conference/model/Conference.java | 4 +++- src/main/resources/db/changelog-20190331_000010-schema.xml | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/main/java/ru/ulstu/conference/model/Conference.java b/src/main/java/ru/ulstu/conference/model/Conference.java index a65411c..b2851ed 100644 --- a/src/main/java/ru/ulstu/conference/model/Conference.java +++ b/src/main/java/ru/ulstu/conference/model/Conference.java @@ -1,9 +1,11 @@ package ru.ulstu.conference.model; +import ru.ulstu.core.model.BaseEntity; + import javax.persistence.Entity; import javax.persistence.Table; @Entity @Table(name = "conference") -public class Conference { +public class Conference extends BaseEntity { } diff --git a/src/main/resources/db/changelog-20190331_000010-schema.xml b/src/main/resources/db/changelog-20190331_000010-schema.xml index 26a98df..04bda75 100644 --- a/src/main/resources/db/changelog-20190331_000010-schema.xml +++ b/src/main/resources/db/changelog-20190331_000010-schema.xml @@ -54,4 +54,10 @@ constraintName=" fk_deadlines_conference" referencedTableName="conference" referencedColumnNames="id"/> + + + + + +