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.INTEGER,
16 } as Migration.Integer
18 return q.addColumn('Videos', 'licence', data)
20 data.defaultValue = null
21 return q.changeColumn('Videos', 'licence', data)
25 function down (options) {
26 throw new Error('Not implemented.')