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.STRING,
14 await utils.queryInterface.changeColumn('user', 'password', password)
19 type: Sequelize.STRING,
22 await utils.queryInterface.addColumn('user', 'pluginAuth', pluginAuth)
27 type: Sequelize.STRING,
30 await utils.queryInterface.addColumn('oAuthToken', 'authName', authName)
35 function down (options) {
36 throw new Error('Not implemented.')