Add config parameter to toggle automatic SQL migrations
- Add two command line opterations to show schema version and to execute SQL migrations - Add new configuration parameter to enable or disable SQL migrations
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
namespace Kanboard\ServiceProvider;
|
||||
|
||||
use Kanboard\Console\CronjobCommand;
|
||||
use Kanboard\Console\DatabaseMigrationCommand;
|
||||
use Kanboard\Console\DatabaseVersionCommand;
|
||||
use Kanboard\Console\LocaleComparatorCommand;
|
||||
use Kanboard\Console\LocaleSyncCommand;
|
||||
use Kanboard\Console\PluginInstallCommand;
|
||||
@@ -55,6 +57,8 @@ class CommandProvider implements ServiceProviderInterface
|
||||
$application->add(new PluginUpgradeCommand($container));
|
||||
$application->add(new PluginInstallCommand($container));
|
||||
$application->add(new PluginUninstallCommand($container));
|
||||
$application->add(new DatabaseMigrationCommand($container));
|
||||
$application->add(new DatabaseVersionCommand($container));
|
||||
|
||||
$container['cli'] = $application;
|
||||
return $container;
|
||||
|
||||
Reference in New Issue
Block a user