diff --git a/CHANGELOG.md b/CHANGELOG.md index fede80b6..68d4a5e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/module/CLI/src/Command/Db/CreateDatabaseCommand.php b/module/CLI/src/Command/Db/CreateDatabaseCommand.php index a294da9e..45880338 100644 --- a/module/CLI/src/Command/Db/CreateDatabaseCommand.php +++ b/module/CLI/src/Command/Db/CreateDatabaseCommand.php @@ -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', ); diff --git a/module/CLI/src/Command/Db/MigrateDatabaseCommand.php b/module/CLI/src/Command/Db/MigrateDatabaseCommand.php index 23b39fc6..379e57e0 100644 --- a/module/CLI/src/Command/Db/MigrateDatabaseCommand.php +++ b/module/CLI/src/Command/Db/MigrateDatabaseCommand.php @@ -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.'); }