diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-26 09:16:43 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-26 09:16:43 +0200 |
commit | 4f0f2ab228d73dbec303914dd59b52f6cdaddf46 (patch) | |
tree | 25d5d561de6634b50c5dde562dff00b51674d9fc /server/models/video/video-views.ts | |
parent | c28bcdd10a5a0d661e51c96345bbd6c4dcc43bc9 (diff) | |
download | PeerTube-4f0f2ab228d73dbec303914dd59b52f6cdaddf46.tar.gz PeerTube-4f0f2ab228d73dbec303914dd59b52f6cdaddf46.tar.zst PeerTube-4f0f2ab228d73dbec303914dd59b52f6cdaddf46.zip |
Fix createdAt/updatedAt issues
Diffstat (limited to 'server/models/video/video-views.ts')
-rw-r--r-- | server/models/video/video-views.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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' ] |