diff options
Diffstat (limited to 'server/models/user-video-rate.ts')
-rw-r--r-- | server/models/user-video-rate.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/user-video-rate.ts b/server/models/user-video-rate.ts index 6b71e8412..0326e1796 100644 --- a/server/models/user-video-rate.ts +++ b/server/models/user-video-rate.ts | |||
@@ -19,8 +19,8 @@ import { | |||
19 | let UserVideoRate: Sequelize.Model<UserVideoRateInstance, UserVideoRateAttributes> | 19 | let UserVideoRate: Sequelize.Model<UserVideoRateInstance, UserVideoRateAttributes> |
20 | let load: UserVideoRateMethods.Load | 20 | let load: UserVideoRateMethods.Load |
21 | 21 | ||
22 | export default function (sequelize, DataTypes) { | 22 | export default function (sequelize: Sequelize.Sequelize, DataTypes: Sequelize.DataTypes) { |
23 | UserVideoRate = sequelize.define('UserVideoRate', | 23 | UserVideoRate = sequelize.define<UserVideoRateInstance, UserVideoRateAttributes>('UserVideoRate', |
24 | { | 24 | { |
25 | type: { | 25 | type: { |
26 | type: DataTypes.ENUM(values(VIDEO_RATE_TYPES)), | 26 | type: DataTypes.ENUM(values(VIDEO_RATE_TYPES)), |