Closed dengue8830 closed 6 years ago
I don't fully understand your question? Are you saying the first example doesn't create the tables? You are missing a then/catch handler in the first example
sorry, it was an asynchronous problem, i wasn't waiting sequelize to finish. I thought the work could finish even if i didn't wait for it. My fault
i used this example code and in my main app.ts i have this code
but it's not enough to create tables on database, in order to that i have to execute a find operation
it's mandatory? must i execute a find operation for all my models? which is the simplest way to sync all my models?
in the sequelize no typescript version it's enough with a simple import of the models
Thanks