Closed modulitos closed 5 years ago
https://github.com/douglas-treadwell/sequelize-cli-typescript/pull/2 fixes the issue. Please merge this.
FYI, there is more fresh fork that is still being maintained: https://github.com/wildcookie007/sequelize-cli-typescript
Fix for this issue is there, plus numerous of other fixes 🎉
Can be included in package.json
like this:
"dependencies": {
"sequelize-cli-typescript": "git+ssh://git@github.com:wildcookie007/sequelize-cli-typescript.git#master",
}
After, run npm i
to install it.
What you are doing?
I want to create a migration, but I am encountering an error.
What do you expect to happen?
Have a migration created.
What is actually happening?
I am getting this error:
I see that this repo contains a file
sequelize-cli-typescript/lib/assets/migrations/skeleton.ts
. Perhaps that file should be renamed with a.js
extension?Dialect: postgres Database version: PostgreSQL 10.1 on x86_64-pc-linux-musl, compiled by gcc (Alpine 6.3.0) 6.3.0, 64-bit Sequelize CLI version: 3.2.0-c Sequelize version: 4.17.0