From fdb0c8951caa61fa571207cb01206797c0a9575b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Clovis=20Ram=C3=ADrez?= Date: Sun, 28 Oct 2018 16:58:05 -0400 Subject: [PATCH] Make the migration skeleton even shorter --- src/assets/migrations/skeleton.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/assets/migrations/skeleton.ts b/src/assets/migrations/skeleton.ts index a1aa58994..5ed637e73 100644 --- a/src/assets/migrations/skeleton.ts +++ b/src/assets/migrations/skeleton.ts @@ -1,7 +1,7 @@ import { QueryInterface, SequelizeStatic } from 'sequelize'; export = { - up: (queryInterface: QueryInterface, Sequelize: SequelizeStatic) => { + up(queryInterface: QueryInterface, Sequelize: SequelizeStatic) { /* Add altering commands here. Return a promise to correctly handle asynchronicity. @@ -11,7 +11,7 @@ export = { */ }, - down: (queryInterface: QueryInterface, Sequelize: SequelizeStatic) => { + down(queryInterface: QueryInterface, Sequelize: SequelizeStatic) { /* Add reverting commands here. Return a promise to correctly handle asynchronicity.