import * as Sequelize from 'sequelize' ; async function up ( utils ) { { const data = { type : Sequelize . BOOLEAN , allowNull : false , defaultValue : true } ; await utils . queryInterface . addColumn ( 'user' , 'webTorrentEnabled' , data ) ; } } async function down ( utils ) { await utils . queryInterface . removeColumn ( 'user' , 'webTorrentEnabled' ) ; } export { up , down } ;