public function run(array $params = [])
	{
		$runner = Services::migrations();

		CLI::write(lang('Migrations.toVersion'), 'yellow');

		$group = $params['-g'] ?? CLI::getOption('g');
		try
		{
			$runner->current($group);
			$messages = $runner->getCliMessages();
			foreach ($messages as $message)
			{
				CLI::write($message);
			}

			CLI::write('Done');
		}
		catch (\Exception $e)
		{
			$this->showError($e);
		}
	}