diff options
Diffstat (limited to 'server/initializers/migrations/0115-account-avatar.ts')
-rw-r--r-- | server/initializers/migrations/0115-account-avatar.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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: { | |||
7 | sequelize: Sequelize.Sequelize, | 7 | sequelize: Sequelize.Sequelize, |
8 | db: PeerTubeDatabase | 8 | db: PeerTubeDatabase |
9 | }): Promise<void> { | 9 | }): Promise<void> { |
10 | await db.Avatar.sync() | 10 | await utils.db.Avatar.sync() |
11 | 11 | ||
12 | const data = { | 12 | const data = { |
13 | type: Sequelize.INTEGER, | 13 | type: Sequelize.INTEGER, |