Add columns to existing model

17 views
Skip to first unread message

Mike Dodge

unread,
Feb 7, 2021, 3:13:24 PM2/7/21
to Sequelize

I am trying to add a couple columns to my existing model.  I found a good tutorial that showed how to create a migration and do it that way.  I followed all the steps, but my model is not updated and my DB is not updated.  But when I try to run the migrate command a second time, I get an error that says: "Duplicate column name"  so I know it is getting added somewhere.  Anyone know where that data is actually stored?

Reply all
Reply to author
Forward
0 new messages