aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/models/application/application.ts3
-rw-r--r--server/models/video/video-views.ts1
2 files changed, 3 insertions, 1 deletions
diff --git a/server/models/application/application.ts b/server/models/application/application.ts
index a02208b4e..81320b9af 100644
--- a/server/models/application/application.ts
+++ b/server/models/application/application.ts
@@ -10,7 +10,8 @@ import { AccountModel } from '../account/account'
10 ] 10 ]
11})) 11}))
12@Table({ 12@Table({
13 tableName: 'application' 13 tableName: 'application',
14 timestamps: false
14}) 15})
15export class ApplicationModel extends Model<ApplicationModel> { 16export class ApplicationModel extends Model<ApplicationModel> {
16 17
diff --git a/server/models/video/video-views.ts b/server/models/video/video-views.ts
index 6071e8c22..40db5effd 100644
--- a/server/models/video/video-views.ts
+++ b/server/models/video/video-views.ts
@@ -4,6 +4,7 @@ import * as Sequelize from 'sequelize'
4 4
5@Table({ 5@Table({
6 tableName: 'videoView', 6 tableName: 'videoView',
7 updatedAt: false,
7 indexes: [ 8 indexes: [
8 { 9 {
9 fields: [ 'videoId' ] 10 fields: [ 'videoId' ]