Z
Z
Zomdies2020-12-29 11:51:41
PostgreSQL
Zomdies, 2020-12-29 11:51:41

Problem with sequlize migrations?

There is a ready-made folder with models, and a database already assembled on the server, you need to change the model, and, consequently, add an attribute to the table. It is necessary to apply migration, it is not clear how this can be done, since I understand that ORM does not automatically create migrations based on existing models. What can be done ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
PUP_ZEMLI, 2021-01-31
@PUP_ZEMLI

What's stopping you from writing a migration? And run it in the CI pipeline or by connecting to the database from the IDE

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question