1 import * as Sequelize from 'sequelize'
3 async function up (utils: {
4 transaction: Sequelize.Transaction
5 queryInterface: Sequelize.QueryInterface
6 sequelize: Sequelize.Sequelize
10 type: Sequelize.BOOLEAN,
15 await utils.queryInterface.addColumn('user', 'webTorrentEnabled', data)
20 async function down (utils: {
21 transaction: Sequelize.Transaction
22 queryInterface: Sequelize.QueryInterface
23 sequelize: Sequelize.Sequelize
25 await utils.queryInterface.removeColumn('user', 'webTorrentEnabled')