Currently, I am utilizing the PostgreSQL database ORM Sequelize along with TypeScript as a backend script within the Express Node.js environment.
My first inquiry is: Is it possible to directly create a model in .ts format?
The second question pertains to an issue encountered while attempting to migrate the database. The error message states:
"File: 20180424170257-create-todo.ts does not match pattern: /.js$/"
I would like to know where I should specify the compiled migration.
Appreciate your assistance.