Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
Increase length of PartnerId column in Cancellation Entity (#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
f11h authored Feb 23, 2023
1 parent 8549c80 commit c4c90e7
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class Cancellation {
static final long SERIAL_VERSION_UID = 1L;

@Id
@Column(name = "partner_id", length = 20)
@Column(name = "partner_id", length = 64)
private String partnerId;

@Column(name = "created_at")
Expand Down
3 changes: 3 additions & 0 deletions src/main/resources/db/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,6 @@ databaseChangeLog:
- include:
file: changelog/V025_update_cancellationTable_6.yml
relativeToChangelogFile: true
- include:
file: changelog/V026_update_cancellationTable_7.yml
relativeToChangelogFile: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
databaseChangeLog:
- changeSet:
id: update-cancellation-table-7
author: f11h
changes:
- modifyDataType:
tableName: cancellation
columnName: partner_id
newDataType: varchar(64)

0 comments on commit c4c90e7

Please sign in to comment.