diff options
Diffstat (limited to 'server/initializers/migrations/0120-video-null.ts')
-rw-r--r-- | server/initializers/migrations/0120-video-null.ts | 3 |
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 @@ | |||
1 | import * as Sequelize from 'sequelize' | 1 | import * as Sequelize from 'sequelize' |
2 | import { CONSTRAINTS_FIELDS } from '../constants' | 2 | import { CONSTRAINTS_FIELDS } from '../constants' |
3 | import { PeerTubeDatabase } from '../database' | ||
4 | 3 | ||
5 | async function up (utils: { | 4 | async 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 | { |