<?php
/**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
switch ($this->getArgument(0)) {
case "dryrun":
- $output = DBStructure::update($basePath, true, false);
+ $output = DBStructure::dryRun();
break;
case "update":
$force = $this->getOption(['f', 'force'], false);
$output = ob_get_clean();
break;
case "dumpsql":
+ DBStructure::writeStructure();
ob_start();
DBStructure::printStructure($basePath);
$output = ob_get_clean();