Skip to content

Commit 36581a6

Browse files
author
hirsch88
committed
Add type to reset database command
1 parent d7d3824 commit 36581a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/console/DatabaseResetCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export class DatabaseResetCommand extends AbstractCommand {
2020
public static description = 'Reverse all current migrations and migrate to latest.';
2121

2222
public async run(): Promise<void> {
23-
const knex = Knex(options);
23+
const knex = Knex(options as Knex.Config);
2424

2525
const migrate: any = knex.migrate;
2626

0 commit comments

Comments
 (0)