aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/migrations/0120-video-null.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2017-12-12 17:53:50 +0100
committerChocobozzz <me@florianbigard.com>2017-12-13 16:50:33 +0100
commit3fd3ab2d34d512b160a5e6084d7609be7b4f4452 (patch)
treee5ca358287fca6ecacce83defcf23af1e8e9f419 /server/initializers/migrations/0120-video-null.ts
parentc893d4514e6ecbf282c7985fe5f82b8acd8a1137 (diff)
downloadPeerTube-3fd3ab2d34d512b160a5e6084d7609be7b4f4452.tar.gz
PeerTube-3fd3ab2d34d512b160a5e6084d7609be7b4f4452.tar.zst
PeerTube-3fd3ab2d34d512b160a5e6084d7609be7b4f4452.zip
Move models to typescript-sequelize
Diffstat (limited to 'server/initializers/migrations/0120-video-null.ts')
-rw-r--r--server/initializers/migrations/0120-video-null.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/initializers/migrations/0120-video-null.ts b/server/initializers/migrations/0120-video-null.ts
index 9130d10ee..63f3984dd 100644
--- a/server/initializers/migrations/0120-video-null.ts
+++ b/server/initializers/migrations/0120-video-null.ts
@@ -1,12 +1,11 @@
1import * as Sequelize from 'sequelize' 1import * as Sequelize from 'sequelize'
2import { CONSTRAINTS_FIELDS } from '../constants' 2import { CONSTRAINTS_FIELDS } from '../constants'
3import { PeerTubeDatabase } from '../database'
4 3
5async function up (utils: { 4async function up (utils: {
6 transaction: Sequelize.Transaction, 5 transaction: Sequelize.Transaction,
7 queryInterface: Sequelize.QueryInterface, 6 queryInterface: Sequelize.QueryInterface,
8 sequelize: Sequelize.Sequelize, 7 sequelize: Sequelize.Sequelize,
9 db: PeerTubeDatabase 8 db: any
10}): Promise<void> { 9}): Promise<void> {
11 10
12 { 11 {