diff options
| author | Zoddo <zoddo.ino@gmail.com> | 2015-09-13 17:15:35 +0200 |
|---|---|---|
| committer | Zoddo <zoddo.ino@gmail.com> | 2015-09-20 12:29:33 +0200 |
| commit | 60099cf97c13106b741ab779883a89a0dbc4b6fa (patch) | |
| tree | f90ede2335fb9a79213d747687862fb1c0092f17 /phpBB/config/default | |
| parent | 2596fba487a067cba36b5ebe50e1c73e4dc954d3 (diff) | |
| download | forums-60099cf97c13106b741ab779883a89a0dbc4b6fa.tar forums-60099cf97c13106b741ab779883a89a0dbc4b6fa.tar.gz forums-60099cf97c13106b741ab779883a89a0dbc4b6fa.tar.bz2 forums-60099cf97c13106b741ab779883a89a0dbc4b6fa.tar.xz forums-60099cf97c13106b741ab779883a89a0dbc4b6fa.zip | |
[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
Diffstat (limited to 'phpBB/config/default')
| -rw-r--r-- | phpBB/config/default/container/services_console.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/phpBB/config/default/container/services_console.yml b/phpBB/config/default/container/services_console.yml index d4897be206..72cca8fcb8 100644 --- a/phpBB/config/default/container/services_console.yml +++ b/phpBB/config/default/container/services_console.yml @@ -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: |
