Open ghost opened 5 years ago
Same problem. Only table generated, no columns.
This is still a problem
if you can check, please check my pull request that fixes this specific issue, it is just that sequelize 5.x changed some attributes
@flexxnn please accept @moda20 's PR, we are stuck in Sequelize 4.x
@moda20 I had an issue with your fix. I changed property path to models and it's worked fine with autogenerated models/index.js
This pull request fix this issue #75
If you faced this problem you can download my fork fixing this issue.
This repo is dead and not being maintained anymore. Head over to https://github.com/MRVMV/sequelize-mig fork which is being actively maintained.
I have a model generated by Sequelize with the following information:
Running
makemigration
generates the following:Doesn't look like there is any code related to the fields. Running
runmigration
confirms this since it only creates the table with no fields in it.Is it something I'm just doing wrong?