diff options
author | Lucas Declercq <lucas.declercq@ineat-conseil.fr> | 2018-10-08 14:45:22 +0200 |
---|---|---|
committer | Lucas Declercq <lucas.declercq@ineat-conseil.fr> | 2018-10-08 14:45:22 +0200 |
commit | 7f2cfe3a792856f7de6f1d13688aa3d06ec1bf70 (patch) | |
tree | 8042222877ed6dc983ff0e13ea3ec56aa1a4386a /server/initializers/migrations | |
parent | 4ffdcfc63b8c804a0aea20609544c859ab57318b (diff) | |
download | PeerTube-7f2cfe3a792856f7de6f1d13688aa3d06ec1bf70.tar.gz PeerTube-7f2cfe3a792856f7de6f1d13688aa3d06ec1bf70.tar.zst PeerTube-7f2cfe3a792856f7de6f1d13688aa3d06ec1bf70.zip |
Rename downloadingEnabled property to downloadEnabled
Diffstat (limited to 'server/initializers/migrations')
-rw-r--r-- | server/initializers/migrations/0280-video-downloading-enabled.ts | 4 |
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 | ||
20 | function down (options) { | 20 | function down (options) { |