diff options
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/installer.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/server/initializers/installer.ts b/server/initializers/installer.ts index 3c5a77df9..26e92be0b 100644 --- a/server/initializers/installer.ts +++ b/server/initializers/installer.ts | |||
@@ -1,12 +1,10 @@ | |||
1 | import { join } from 'path' | ||
2 | import * as config from 'config' | ||
3 | import * as passwordGenerator from 'password-generator' | 1 | import * as passwordGenerator from 'password-generator' |
4 | import * as Promise from 'bluebird' | 2 | import * as Promise from 'bluebird' |
5 | 3 | ||
6 | import { database as db } from './database' | 4 | import { database as db } from './database' |
7 | import { USER_ROLES, CONFIG, LAST_MIGRATION_VERSION, CACHE } from './constants' | 5 | import { USER_ROLES, CONFIG, LAST_MIGRATION_VERSION, CACHE } from './constants' |
8 | import { clientsExist, usersExist } from './checker' | 6 | import { clientsExist, usersExist } from './checker' |
9 | import { logger, createCertsIfNotExist, root, mkdirpPromise, rimrafPromise } from '../helpers' | 7 | import { logger, createCertsIfNotExist, mkdirpPromise, rimrafPromise } from '../helpers' |
10 | 8 | ||
11 | function installApplication () { | 9 | function installApplication () { |
12 | return db.sequelize.sync() | 10 | return db.sequelize.sync() |