aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/danger/clean
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2017-12-13 17:46:23 +0100
committerChocobozzz <me@florianbigard.com>2017-12-13 17:46:23 +0100
commit91fea9fc48a4ce53dd69e0e20f5804ad95a6c27d (patch)
tree1f227acea3e9684928dedbc070cc5fa6b3af42ee /scripts/danger/clean
parent65b3ed25fc33c63ab2c56372c1a010541f8fddc2 (diff)
downloadPeerTube-91fea9fc48a4ce53dd69e0e20f5804ad95a6c27d.tar.gz
PeerTube-91fea9fc48a4ce53dd69e0e20f5804ad95a6c27d.tar.zst
PeerTube-91fea9fc48a4ce53dd69e0e20f5804ad95a6c27d.zip
Add migration
Diffstat (limited to 'scripts/danger/clean')
-rw-r--r--scripts/danger/clean/cleaner.ts4
1 files changed, 2 insertions, 2 deletions
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 @@
1import * as Promise from 'bluebird' 1import * as Promise from 'bluebird'
2import * as rimraf from 'rimraf' 2import * as rimraf from 'rimraf'
3import { CONFIG, initDatabase, sequelizeTypescript } from '../../../server/initializers' 3import { CONFIG, initDatabaseModels, sequelizeTypescript } from '../../../server/initializers'
4 4
5initDatabase(true) 5initDatabaseModels(true)
6 .then(() => { 6 .then(() => {
7 return sequelizeTypescript.drop() 7 return sequelizeTypescript.drop()
8 }) 8 })