Skip to content
New issue

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

feat: Add types to the Migrator interface #3459

Merged
merged 2 commits into from Oct 21, 2019
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -1828,6 +1828,8 @@ declare namespace Knex {
currentVersion(config?: MigratorConfig): Promise<string>;
up(config?: MigratorConfig): Promise<any>;
down(config?: MigratorConfig): Promise<any>;
list(config?: MigratorConfig): Promise<any>;
This conversation was marked as resolved by lffg

This comment has been minimized.

Copy link
@kibertoad

kibertoad Oct 15, 2019

Collaborator

I think list is already included and can be removed from this PR?

This comment has been minimized.

Copy link
@lffg

lffg Oct 21, 2019

Author Contributor

Where?

This comment has been minimized.

This comment has been minimized.

Copy link
@lffg

lffg Oct 21, 2019

Author Contributor

Ah, ok, thanks. :)

forceFreeMigrationsLock(config?: MigratorConfig): Promise<any>;
}

interface SeederConfig {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.