1
0
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:
Zoddo
2015-09-13 17:15:35 +02:00
parent 2596fba487
commit 60099cf97c
3 changed files with 89 additions and 0 deletions

View File

@@ -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: