aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/migrations')
-rw-r--r--server/initializers/migrations/0700-edition-finished-notification.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/initializers/migrations/0700-edition-finished-notification.ts b/server/initializers/migrations/0700-edition-finished-notification.ts
index 103c0b456..5310eab3f 100644
--- a/server/initializers/migrations/0700-edition-finished-notification.ts
+++ b/server/initializers/migrations/0700-edition-finished-notification.ts
@@ -14,11 +14,11 @@ async function up (utils: {
14 defaultValue: null, 14 defaultValue: null,
15 allowNull: true 15 allowNull: true
16 } 16 }
17 await utils.queryInterface.addColumn('userNotificationSetting', 'myVideoEditionFinished', data, { transaction }) 17 await utils.queryInterface.addColumn('userNotificationSetting', 'myVideoStudioEditionFinished', data, { transaction })
18 } 18 }
19 19
20 { 20 {
21 const query = 'UPDATE "userNotificationSetting" SET "myVideoEditionFinished" = 1' 21 const query = 'UPDATE "userNotificationSetting" SET "myVideoStudioEditionFinished" = 1'
22 await utils.sequelize.query(query, { transaction }) 22 await utils.sequelize.query(query, { transaction })
23 } 23 }
24 24
@@ -28,7 +28,7 @@ async function up (utils: {
28 defaultValue: null, 28 defaultValue: null,
29 allowNull: false 29 allowNull: false
30 } 30 }
31 await utils.queryInterface.changeColumn('userNotificationSetting', 'myVideoEditionFinished', data, { transaction }) 31 await utils.queryInterface.changeColumn('userNotificationSetting', 'myVideoStudioEditionFinished', data, { transaction })
32 } 32 }
33} 33}
34 34