initialize() initialize(\think\console\Input $input, \think\console\Output $output) 初始化 Parameters \think\console\Input $input An InputInterface instance \think\console\Output $output An OutputInterface instance
executeMigration() executeMigration(\Phinx\Migration\MigrationInterface $migration, $direction = \Phinx\Migration\MigrationInterface::UP) Parameters \Phinx\Migration\MigrationInterface $migration $direction
execute() execute(\think\console\Input $input, \think\console\Output $output) : void Rollback the migration. Parameters \think\console\Input $input \think\console\Output $output
rollbackToDateTime() rollbackToDateTime(\DateTime $dateTime, $force = false) Parameters \DateTime $dateTime $force