Skip to content

Commit

Permalink
update template files (#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
ab-pm authored and dolezel committed Aug 14, 2019
1 parent 7aa7e05 commit c3d816f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 2 additions & 0 deletions lib/migration-template.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable camelcase */

exports.shorthands = undefined;

exports.up = (pgm) => {
Expand Down
11 changes: 5 additions & 6 deletions lib/migration-template.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
/* eslint-disable @typescript-eslint/camelcase */
import { MigrationBuilder } from 'node-pg-migrate';

export const shorthands = undefined;

export const up = (pgm: MigrationBuilder) => {
export async function up(pgm: MigrationBuilder): Promise<void> {
}

};

export const down = (pgm: MigrationBuilder) => {

};
export async function down(pgm: MigrationBuilder): Promise<void> {
}

0 comments on commit c3d816f

Please sign in to comment.