aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/migrations/0280-video-downloading-enabled.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/migrations/0280-video-downloading-enabled.ts')
-rw-r--r--server/initializers/migrations/0280-video-downloading-enabled.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/initializers/migrations/0280-video-downloading-enabled.ts b/server/initializers/migrations/0280-video-downloading-enabled.ts
index c0700108c..e79466447 100644
--- a/server/initializers/migrations/0280-video-downloading-enabled.ts
+++ b/server/initializers/migrations/0280-video-downloading-enabled.ts
@@ -11,10 +11,10 @@ async function up (utils: {
11 allowNull: false, 11 allowNull: false,
12 defaultValue: true 12 defaultValue: true
13 } as Migration.Boolean 13 } as Migration.Boolean
14 await utils.queryInterface.addColumn('video', 'downloadingEnabled', data) 14 await utils.queryInterface.addColumn('video', 'downloadEnabled', data)
15 15
16 data.defaultValue = null 16 data.defaultValue = null
17 return utils.queryInterface.changeColumn('video', 'downloadingEnabled', data) 17 return utils.queryInterface.changeColumn('video', 'downloadEnabled', data)
18} 18}
19 19
20function down (options) { 20function down (options) {