aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/migrations/0055-video-uuid.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/migrations/0055-video-uuid.ts')
-rw-r--r--server/initializers/migrations/0055-video-uuid.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/migrations/0055-video-uuid.ts b/server/initializers/migrations/0055-video-uuid.ts
index 9bc65917c..6db25f193 100644
--- a/server/initializers/migrations/0055-video-uuid.ts
+++ b/server/initializers/migrations/0055-video-uuid.ts
@@ -24,7 +24,7 @@ function up (utils: {
24 return utils.sequelize.query(query) 24 return utils.sequelize.query(query)
25 }) 25 })
26 .then(() => { 26 .then(() => {
27 dataUUID.defaultValue = null 27 dataUUID.defaultValue = null // FIXME:default value cannot be null if string
28 28
29 return q.changeColumn('Videos', 'uuid', dataUUID) 29 return q.changeColumn('Videos', 'uuid', dataUUID)
30 }) 30 })