diff options
author | Joas Schilling <coding@schilljs.com> | 2017-07-18 13:37:01 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-07-25 12:45:38 +0200 |
commit | f6c48b1548763e0eda66af7c2720d363e1671090 (patch) | |
tree | d3ae4f2a405d08c4e052e7beabb06e3609b7423e /core/register_command.php | |
parent | 8d751ff2b429380af7e5c870844a6a32f82f0741 (diff) | |
download | nextcloud-server-f6c48b1548763e0eda66af7c2720d363e1671090.tar.gz nextcloud-server-f6c48b1548763e0eda66af7c2720d363e1671090.zip |
Add a script to generate a migration from database.xml
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/register_command.php')
-rw-r--r-- | core/register_command.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/register_command.php b/core/register_command.php index bfb1138c5e3..c65ff8d0067 100644 --- a/core/register_command.php +++ b/core/register_command.php @@ -88,6 +88,7 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) { $application->add(new OC\Core\Command\Db\Migrations\StatusCommand(\OC::$server->getDatabaseConnection())); $application->add(new OC\Core\Command\Db\Migrations\MigrateCommand(\OC::$server->getDatabaseConnection())); $application->add(new OC\Core\Command\Db\Migrations\GenerateCommand(\OC::$server->getDatabaseConnection())); + $application->add(new OC\Core\Command\Db\Migrations\GenerateFromSchemaFileCommand(\OC::$server->getConfig(), \OC::$server->getAppManager(), \OC::$server->getDatabaseConnection())); $application->add(new OC\Core\Command\Db\Migrations\ExecuteCommand(\OC::$server->getDatabaseConnection(), \OC::$server->getConfig())); $application->add(new OC\Core\Command\Encryption\Disable(\OC::$server->getConfig())); |