aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/migrations/0115-account-avatar.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/migrations/0115-account-avatar.ts')
-rw-r--r--server/initializers/migrations/0115-account-avatar.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/initializers/migrations/0115-account-avatar.ts b/server/initializers/migrations/0115-account-avatar.ts
index 2b947ceda..b318e8163 100644
--- a/server/initializers/migrations/0115-account-avatar.ts
+++ b/server/initializers/migrations/0115-account-avatar.ts
@@ -1,11 +1,10 @@
1import * as Sequelize from 'sequelize' 1import * as Sequelize from 'sequelize'
2import { PeerTubeDatabase } from '../database'
3 2
4async function up (utils: { 3async function up (utils: {
5 transaction: Sequelize.Transaction, 4 transaction: Sequelize.Transaction,
6 queryInterface: Sequelize.QueryInterface, 5 queryInterface: Sequelize.QueryInterface,
7 sequelize: Sequelize.Sequelize, 6 sequelize: Sequelize.Sequelize,
8 db: PeerTubeDatabase 7 db: any
9}): Promise<void> { 8}): Promise<void> {
10 await utils.db.Avatar.sync() 9 await utils.db.Avatar.sync()
11 10