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 Migrate the database. Parameters \think\console\Input $input \think\console\Output $output Returns integer — integer 0 on success, or an error code.