aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-04-26 09:16:43 +0200
committerChocobozzz <me@florianbigard.com>2019-04-26 09:16:43 +0200
commit4f0f2ab228d73dbec303914dd59b52f6cdaddf46 (patch)
tree25d5d561de6634b50c5dde562dff00b51674d9fc /server/models/video
parentc28bcdd10a5a0d661e51c96345bbd6c4dcc43bc9 (diff)
downloadPeerTube-4f0f2ab228d73dbec303914dd59b52f6cdaddf46.tar.gz
PeerTube-4f0f2ab228d73dbec303914dd59b52f6cdaddf46.tar.zst
PeerTube-4f0f2ab228d73dbec303914dd59b52f6cdaddf46.zip
Fix createdAt/updatedAt issues
Diffstat (limited to 'server/models/video')
-rw-r--r--server/models/video/video-views.ts1
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' ]