diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-07-11 16:01:56 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-07-11 16:01:56 +0200 |
commit | 0a6658fdcbd779ada8f3758048c326e997902d5a (patch) | |
tree | 5de40bf901db0299011104b1344783637b964eb0 /server/models/video/tag.ts | |
parent | e6d4b0ff2404dcf0b3a755c3fcc415ffeb6e754d (diff) | |
download | PeerTube-0a6658fdcbd779ada8f3758048c326e997902d5a.tar.gz PeerTube-0a6658fdcbd779ada8f3758048c326e997902d5a.tar.zst PeerTube-0a6658fdcbd779ada8f3758048c326e997902d5a.zip |
Use global uuid instead of remoteId for videos
Diffstat (limited to 'server/models/video/tag.ts')
-rw-r--r-- | server/models/video/tag.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/tag.ts b/server/models/video/tag.ts index 2992da56d..0c0757fc8 100644 --- a/server/models/video/tag.ts +++ b/server/models/video/tag.ts | |||
@@ -47,7 +47,7 @@ function associate (models) { | |||
47 | Tag.belongsToMany(models.Video, { | 47 | Tag.belongsToMany(models.Video, { |
48 | foreignKey: 'tagId', | 48 | foreignKey: 'tagId', |
49 | through: models.VideoTag, | 49 | through: models.VideoTag, |
50 | onDelete: 'cascade' | 50 | onDelete: 'CASCADE' |
51 | }) | 51 | }) |
52 | } | 52 | } |
53 | 53 | ||