'How to use sequilize correctly with express and postgreSQL

I have a question about using post-fat sequil in express in a more correct way.

E.g: Is it better to use clichés and migrate through an automatic command and model or do you do the manual model yourself? My next question is: can I run migrations if I do the data from the automated model? I didn't find a production project to be inspired by, but the cliché method doesn't seem exactly right from many points of view. I would like to make the models manually and then run a migration Can you give me an example of a production project or a resource where I could get these examples?

I would like this from someone with experience in express and who uses it daily in projects



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source