1 import * as Sequelize from 'sequelize'
3 async function up (utils: {
4 transaction: Sequelize.Transaction,
5 queryInterface: Sequelize.QueryInterface,
6 sequelize: Sequelize.Sequelize
8 await utils.queryInterface.removeConstraint('actor', 'actor_avatarId_fkey')
10 await utils.queryInterface.addConstraint('actor', [ 'avatarId' ], {
21 function down (options) {
22 throw new Error('Not implemented.')