Добавил создание таблицы в create-tables
This commit is contained in:
parent
8d8acb6496
commit
1a46edadec
@ -17,7 +17,7 @@ import java.time.LocalDateTime;
|
|||||||
@EqualsAndHashCode(onlyExplicitlyIncluded = true)
|
@EqualsAndHashCode(onlyExplicitlyIncluded = true)
|
||||||
public class DeferredMessage {
|
public class DeferredMessage {
|
||||||
@Id
|
@Id
|
||||||
@Column(name = "id")
|
@Column(name = "deferred_messages_id")
|
||||||
private int id;
|
private int id;
|
||||||
@Column(name = "message")
|
@Column(name = "message")
|
||||||
private String message;
|
private String message;
|
||||||
|
@ -274,4 +274,15 @@
|
|||||||
<addPrimaryKey tableName="merge_request_reviewer" columnNames="merge_request_id, person_id"/>
|
<addPrimaryKey tableName="merge_request_reviewer" columnNames="merge_request_id, person_id"/>
|
||||||
</changeSet>
|
</changeSet>
|
||||||
|
|
||||||
|
<changeSet id="2023-02-08-create-table-messages" author="uPagge">
|
||||||
|
<createTable tableName="deferred_messages">
|
||||||
|
<column name="deferred_messages_id" type="int">
|
||||||
|
<constraints nullable="false" primaryKey="true"/>
|
||||||
|
</column>
|
||||||
|
<column name="message" type="varchar"/>
|
||||||
|
<column name="time" type="timestamp"/>
|
||||||
|
<column name="type" type="varchar"/>
|
||||||
|
</createTable>
|
||||||
|
</changeSet>
|
||||||
|
|
||||||
</databaseChangeLog>
|
</databaseChangeLog>
|
Loading…
Reference in New Issue
Block a user