ADD COLUMN Migration, column already exists #16687
Replies: 1 comment
-
Yep! It's part of v7 https://sequelize.org/api/v7/interfaces/_sequelize_core.index.addcolumnoptions#ifNotExists |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a few migrations, is there a way when running sequelize-cli db:migrate to check in addColumn if it already exists to not do anything and continue the other migrations?
I see something has been done here, but didn't see anything in the documentation, is it in version 7?
#15119
Beta Was this translation helpful? Give feedback.
All reactions