Skip to content

Commit

Permalink
Added default value for startingOnField in phaseHistory
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjyhy committed Nov 20, 2024
1 parent a4deda1 commit e162ae0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/migrations/1731486908522-AddPhaseHistory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@ export class AddPhaseHistory1731486908522 implements MigrationInterface {
{
name: 'startingOn',
type: 'datetime',
precision: 6,
default: 'CURRENT_TIMESTAMP(6)',
},
{
name: 'endingOn',
type: 'datetime',
precision: 6,
isNullable: true,
},
],
Expand Down

0 comments on commit e162ae0

Please sign in to comment.