Skip to content

Commit

Permalink
Add timer started at column to test order (#7878)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpbrown authored Jul 8, 2024
1 parent 79823cc commit 5a67de2
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ public class TestOrder extends BaseTestInfo {
@Setter
private Set<Result> results = new HashSet<>();

@Column(name = "timer_started_at")
@Getter
@Setter
private String timerStartedAt;

protected TestOrder() {
/* for hibernate */
}
Expand Down
17 changes: 17 additions & 0 deletions backend/src/main/resources/db/changelog/db.changelog-master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5626,3 +5626,20 @@ databaseChangeLog:
references: role
- sql: |
GRANT SELECT ON ${database.defaultSchemaName}.api_user_role TO ${noPhiUsername};
- changeSet:
id: add-timer-started-at-to-test_order-table
author: [email protected]
changes:
- addColumn:
tableName: test_order
columns:
- column:
name: timer_started_at
type: text
constraints:
nullable: true
rollback:
- dropColumn:
tableName: test_order
columnName: timer_started_at

0 comments on commit 5a67de2

Please sign in to comment.