Skip to content

Commit

Permalink
build: attempt to fix migration
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcr committed Nov 16, 2023
1 parent 13e1f16 commit 631b0c9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions migrations/1698856424356_locations-transfer-type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ export function up(pgm: MigrationBuilder): void {
transfer_type: {
type: 'transfer_type',
notNull: true,
default: 'transferred',
},
});
}

export function down(pgm: MigrationBuilder): void {
pgm.dropColumn('locations', ['transfer_type']);
pgm.dropType('transfer_type');
}

0 comments on commit 631b0c9

Please sign in to comment.