We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I know this is unmaintained now but figured I'd request it anyway.
#47 tried to add support for TS but I keep getting import or export TS bugs with it.
import
export
Back to manually 50 migrations. I just discovered knex migrate:rollback --all && knex migrate:latest to flush my db. 🤤
knex migrate:rollback --all && knex migrate:latest
The text was updated successfully, but these errors were encountered:
@corysimmons just to clarify, the PR adds support for creating Typescript compatible migrations, not TypeScript support itself.
For typings, you can try this simplistic one. Should make Typescript behave better with it if using knex-migrate in code:
// @types/knex-migrate/index.d.ts declare function knexMigrate(type: string, opts?: object, process?: Function): void; declare module 'knex-migrate' { export default knexMigrate; }
Sorry, something went wrong.
No branches or pull requests
I know this is unmaintained now but figured I'd request it anyway.
#47 tried to add support for TS but I keep getting
import
orexport
TS bugs with it.Back to manually 50 migrations.I just discoveredknex migrate:rollback --all && knex migrate:latest
to flush my db. 🤤The text was updated successfully, but these errors were encountered: