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

fixing outdated property names #71

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

moda20
Copy link

@moda20 moda20 commented Jan 5, 2020

changed the sequelize attribute to database and the attributes attribute on models to tableattributes

@moda20
Copy link
Author

moda20 commented Jan 5, 2020

This will create the right migrations with table attributes not only the table names
fixes : #69

@Naddyson
Copy link

This pull request has an issue. sequelize is not defined. I changed and it's working fine with autogenerated models/index.js

Row 72 makemigrations.js
From
let sequelize = require(modelsDir).database;
To
let sequelize = require(modelsDir);

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

Successfully merging this pull request may close these issues.

3 participants