Marked database commands as hidden

This commit is contained in:
Alejandro Celaya 2022-01-30 12:15:53 +01:00
parent 48d3ab0cb4
commit 1d4186392c
3 changed files with 19 additions and 0 deletions

View File

@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com), and this project adheres to [Semantic Versioning](https://semver.org).
## [Unreleased]
### Added
* *Nothing*
### Changed
* [#1359](https://github.com/shlinkio/shlink/issues/1359) Hidden database commands.
### Deprecated
* *Nothing*
### Removed
* *Nothing*
### Fixed
* *Nothing*
## [3.0.0] - 2022-01-28
### Added
* [#767](https://github.com/shlinkio/shlink/issues/767) Added full support to use emojis everywhere, whether it is custom slugs, titles, referrers, etc.

View File

@ -35,6 +35,7 @@ class CreateDatabaseCommand extends AbstractDatabaseCommand
{
$this
->setName(self::NAME)
->setHidden()
->setDescription(
'Creates the database needed for shlink to work. It will do nothing if the database already exists',
);

View File

@ -19,6 +19,7 @@ class MigrateDatabaseCommand extends AbstractDatabaseCommand
{
$this
->setName(self::NAME)
->setHidden()
->setDescription('Runs database migrations, which will ensure the shlink database is up to date.');
}