From 91fea9fc48a4ce53dd69e0e20f5804ad95a6c27d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 13 Dec 2017 17:46:23 +0100 Subject: Add migration --- scripts/danger/clean/cleaner.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/danger') diff --git a/scripts/danger/clean/cleaner.ts b/scripts/danger/clean/cleaner.ts index a22e2ed6a..009f8f7a0 100644 --- a/scripts/danger/clean/cleaner.ts +++ b/scripts/danger/clean/cleaner.ts @@ -1,8 +1,8 @@ import * as Promise from 'bluebird' import * as rimraf from 'rimraf' -import { CONFIG, initDatabase, sequelizeTypescript } from '../../../server/initializers' +import { CONFIG, initDatabaseModels, sequelizeTypescript } from '../../../server/initializers' -initDatabase(true) +initDatabaseModels(true) .then(() => { return sequelizeTypescript.drop() }) -- cgit v1.2.3