From be44767854709dbf7da4ba37fe4f16ac4e297f08 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 4 Dec 2017 11:17:08 +0100 Subject: Fix lint --- server/initializers/migrations/0115-account-avatar.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/initializers/migrations') diff --git a/server/initializers/migrations/0115-account-avatar.ts b/server/initializers/migrations/0115-account-avatar.ts index e3531f5ce..2b947ceda 100644 --- a/server/initializers/migrations/0115-account-avatar.ts +++ b/server/initializers/migrations/0115-account-avatar.ts @@ -7,7 +7,7 @@ async function up (utils: { sequelize: Sequelize.Sequelize, db: PeerTubeDatabase }): Promise { - await db.Avatar.sync() + await utils.db.Avatar.sync() const data = { type: Sequelize.INTEGER, -- cgit v1.2.3