1 import * as Sequelize from 'sequelize'
2 import * as Promise from 'bluebird'
3 import { Migration } from '../../models/migrations'
6 transaction: Sequelize.Transaction,
7 queryInterface: Sequelize.QueryInterface,
8 sequelize: Sequelize.Sequelize
10 const q = utils.queryInterface
13 type: Sequelize.BOOLEAN,
16 } as Migration.Boolean
18 return q.addColumn('Videos', 'nsfw', data)
20 data.defaultValue = null
22 return q.changeColumn('Videos', 'nsfw', data)
26 function down (options) {
27 throw new Error('Not implemented.')