diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-12-04 11:17:08 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-12-04 11:17:08 +0100 |
commit | be44767854709dbf7da4ba37fe4f16ac4e297f08 (patch) | |
tree | 93cc7c992a205f3ea76126b5f3035f3a9440e9a4 /server/initializers/migrations | |
parent | d2cc03aaad62fa6cf1c64622229bcc83f24fccb6 (diff) | |
download | PeerTube-be44767854709dbf7da4ba37fe4f16ac4e297f08.tar.gz PeerTube-be44767854709dbf7da4ba37fe4f16ac4e297f08.tar.zst PeerTube-be44767854709dbf7da4ba37fe4f16ac4e297f08.zip |
Fix lint
Diffstat (limited to 'server/initializers/migrations')
-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, |