Files
portfolio2023/node_modules/@adonisjs/lucid/build/commands/Migration/Reset.d.ts
T
2023-11-24 22:35:41 +01:00

37 lines
810 B
TypeScript

import { BaseCommand } from '@adonisjs/core/build/standalone';
/**
* This command resets the database by rolling back to batch 0. Same
* as calling "migration:rollback --batch=0"
*/
export default class Reset extends BaseCommand {
static commandName: string;
static description: string;
static settings: {
loadApp: boolean;
};
/**
* Custom connection for running migrations.
*/
connection: string;
/**
* Force command execution in production
*/
force: boolean;
/**
* Perform dry run
*/
dryRun: boolean;
/**
* Disable advisory locks
*/
disableLocks: boolean;
/**
* Converting command properties to arguments
*/
private getArgs;
/**
* Handle command
*/
run(): Promise<void>;
}