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) : integer Show the migration status. Parameters \think\console\Input $input \think\console\Output $output Returns integer — 0 if all migrations are up, or an error code