Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 20e63d3

Browse files
committedJun 29, 2020
missing migration
1 parent d616445 commit 20e63d3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎src/migrations/1593415759720_add-txs-raw-result.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ import { MigrationBuilder, ColumnDefinitions } from 'node-pg-migrate';
44
export const shorthands: ColumnDefinitions | undefined = undefined;
55

66
export async function up(pgm: MigrationBuilder): Promise<void> {
7-
pgm.addColumns( 'txs', {
7+
pgm.addColumns('txs', {
88
raw_result: {
99
type: 'bytea',
1010
notNull: false, // to avoid migration issues for previous txs not including
1111
},
12-
}, options )
12+
})
1313
}
1414

1515
export async function down(pgm: MigrationBuilder): Promise<void> {
16-
pgm.dropColumns( 'txs', ['raw_result'], options )
16+
pgm.dropColumns('txs', ['raw_result'])
1717
}

0 commit comments

Comments
 (0)
Please sign in to comment.