0385-remove-actor-uuid.ts 364 B

12345678910111213141516171819
  1. import * as Sequelize from 'sequelize'
  2. async function up (utils: {
  3. transaction: Sequelize.Transaction
  4. queryInterface: Sequelize.QueryInterface
  5. sequelize: Sequelize.Sequelize
  6. db: any
  7. }): Promise<void> {
  8. await utils.queryInterface.removeColumn('actor', 'uuid')
  9. }
  10. function down (options) {
  11. throw new Error('Not implemented.')
  12. }
  13. export {
  14. up,
  15. down
  16. }