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,
14 model: 'videoStreamingPlaylist',
20 await utils.queryInterface.addColumn('videoFile', 'videoStreamingPlaylistId', data)
25 type: Sequelize.INTEGER,
29 await utils.queryInterface.changeColumn('videoFile', 'videoId', data)
33 function down (options) {
34 throw new Error('Not implemented.')