1 import * as Sequelize from 'sequelize'
3 async function up (utils: {
4 transaction: Sequelize.Transaction,
5 queryInterface: Sequelize.QueryInterface,
6 sequelize: Sequelize.Sequelize,
11 type: Sequelize.INTEGER,
15 await utils.queryInterface.addColumn('userNotificationSetting', 'newInstanceFollower', data)
19 const query = 'UPDATE "userNotificationSetting" SET "newInstanceFollower" = 1'
20 await utils.sequelize.query(query)
25 type: Sequelize.INTEGER,
29 await utils.queryInterface.changeColumn('userNotificationSetting', 'newInstanceFollower', data)
33 function down (options) {
34 throw new Error('Not implemented.')