Добавил создание таблицы в create-tables
This commit is contained in:
parent
8d8acb6496
commit
1a46edadec
@ -17,7 +17,7 @@ import java.time.LocalDateTime;
|
||||
@EqualsAndHashCode(onlyExplicitlyIncluded = true)
|
||||
public class DeferredMessage {
|
||||
@Id
|
||||
@Column(name = "id")
|
||||
@Column(name = "deferred_messages_id")
|
||||
private int id;
|
||||
@Column(name = "message")
|
||||
private String message;
|
||||
|
@ -274,4 +274,15 @@
|
||||
<addPrimaryKey tableName="merge_request_reviewer" columnNames="merge_request_id, person_id"/>
|
||||
</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>
|
Loading…
Reference in New Issue
Block a user