-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
ARRAY(ENUM) does not work in Migrations (postgres) #10388
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still an issue, just leave a comment 🙂 |
👋🏼 |
Still not working, hope you can fix @papb |
Is this solely an issue with migrations, or something similar can be reproduced without the CLI? |
It's migrations! |
@jetaimefrc Are you saying that running the |
I do migrate up to migrations table! Yes, I used queryInterface.createTable() |
I discovered that this is not a Migrations issue. I opened a clean new issue to track this: #11285 |
Hope this helps. I was stuck too long trying to figure it out after I got major bugs on a project. Here's the link to how I solved it ==> #11285 (comment) |
What are you doing?
migration file:
./project/database/migrations/20190101060000-create-info.js
The main issue is with the
Sequelize.ARRAY(Sequelize.ENUM([...]))
part.What do you expect to happen?
The migration to be successful...
What is actually happening?
Dialect: postgres
Dialect version:
"pg": "^7.8.0", "pg-hstore": "^2.3.2",
Database version: 11.1
Sequelize version: 5.0.0-beta.15
Tested with latest release: 5.0.0-beta.15
The text was updated successfully, but these errors were encountered: