DEV Community

Discussion on: Getting Started with Sequelize and Postgres

Collapse
 
tcee42 profile image
Thomas • Edited

For example, --attributes postId:integer, comment:text, userId:integer will throw an error ERROR: Attribute '' cannot be parsed: Cannot read property 'dataType' of undefined because of the whitespace between attributes.

I was trying to resolve the above error when I stumbled on your post. Thanks a lot, It worked.

Collapse
 
nedsoft profile image
Chinedu Orie

Glad to hear that it helped