mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/14162] Add CLI command db:list
This command lists all installed and uninstalled migrations. Note: The class is named `list_command`, because `list` is a reserved word and can't be used as class name in PHP. PHPBB3-14162
This commit is contained in:
@@ -75,6 +75,17 @@ services:
|
||||
tags:
|
||||
- { name: console.command }
|
||||
|
||||
console.command.db.list:
|
||||
class: phpbb\console\command\db\list_command
|
||||
arguments:
|
||||
- @user
|
||||
- @migrator
|
||||
- @ext.manager
|
||||
- @config
|
||||
- @cache
|
||||
tags:
|
||||
- { name: console.command }
|
||||
|
||||
console.command.db.migrate:
|
||||
class: phpbb\console\command\db\migrate
|
||||
arguments:
|
||||
|
Reference in New Issue
Block a user