diff --git a/migrations/1698856424356_locations-transfer-type.ts b/migrations/1698856424356_locations-transfer-type.ts index c3ba335f..141fc30d 100644 --- a/migrations/1698856424356_locations-transfer-type.ts +++ b/migrations/1698856424356_locations-transfer-type.ts @@ -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'); +}