diff options
author | Chocobozzz <me@florianbigard.com> | 2020-12-08 14:30:29 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-12-09 11:41:22 +0100 |
commit | b49f22d8f9a52ab75fd38db2d377249eb58fa678 (patch) | |
tree | a2825877d7b3b53454804a79c9d2a14c5d37385c /server/models/application | |
parent | 6c8c15f914cd375da1db5d0cd4d924a86c53d4c1 (diff) | |
download | PeerTube-b49f22d8f9a52ab75fd38db2d377249eb58fa678.tar.gz PeerTube-b49f22d8f9a52ab75fd38db2d377249eb58fa678.tar.zst PeerTube-b49f22d8f9a52ab75fd38db2d377249eb58fa678.zip |
Upgrade sequelize to v6
Diffstat (limited to 'server/models/application')
-rw-r--r-- | server/models/application/application.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/application/application.ts b/server/models/application/application.ts index 3bba2c70e..909569de1 100644 --- a/server/models/application/application.ts +++ b/server/models/application/application.ts | |||
@@ -24,7 +24,7 @@ export const getServerActor = memoizee(async function () { | |||
24 | tableName: 'application', | 24 | tableName: 'application', |
25 | timestamps: false | 25 | timestamps: false |
26 | }) | 26 | }) |
27 | export class ApplicationModel extends Model<ApplicationModel> { | 27 | export class ApplicationModel extends Model { |
28 | 28 | ||
29 | @AllowNull(false) | 29 | @AllowNull(false) |
30 | @Default(0) | 30 | @Default(0) |