Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot enable cancellation after promises are in use #449

Closed
ashnamuh opened this issue Apr 20, 2017 · 1 comment
Closed

cannot enable cancellation after promises are in use #449

ashnamuh opened this issue Apr 20, 2017 · 1 comment

Comments

@ashnamuh
Copy link

ashnamuh commented Apr 20, 2017

Hi, i'm facing following error. I don't what is wrong..

What you are doing?

I'm trying to run a migration:

20170420000245-alter-table-for-idea.js

'use strict';

const Participation = require('../models/').Participation;

module.exports = {
  up: (queryInterface, Sequelize, done) => {
    return queryInterface.sequelize.query(`ALTER TABLE "${Participation.getTableName()}" ALTER COLUMN "introduction" TYPE text;`)
      .then(() => done());
  },

  down: (queryInterface, Sequelize, done) => {
    return queryInterface.sequelize.query(`ALTER TABLE "${Participation.getTableName()}" ALTER COLUMN "introduction" TYPE text;`)
      .then(() => done());
  }
};

What do you expect to happen?

I was expecting the migration to run successfully.

What is actually happening?

image

Dialect: postgres
Database version: 9.3
Sequelize CLI version: 2.7
sequelize version: 3.30.4
node version: 6.10.2

@sushantdhiman
Copy link
Contributor

Looks like an userland issue, need more details

codetriage-readme-bot pushed a commit to codetriage-readme-bot/cli that referenced this issue Jun 5, 2019
[nextercism] Implement show flag for configure command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants