|
|
@@ -20,6 +20,7 @@ |
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
|
|
* |
|
|
|
*/ |
|
|
|
declare(strict_types=1); |
|
|
|
|
|
|
|
namespace OCA\DAV\Migration; |
|
|
|
|
|
|
@@ -30,14 +31,15 @@ use OCP\DB\ISchemaWrapper; |
|
|
|
use OCP\Migration\SimpleMigrationStep; |
|
|
|
use OCP\Migration\IOutput; |
|
|
|
|
|
|
|
/** |
|
|
|
* add column for share notes |
|
|
|
* |
|
|
|
* Class Version15000Date20180927120000 |
|
|
|
*/ |
|
|
|
class Version1008Date20181030113700 extends SimpleMigrationStep { |
|
|
|
public function changeSchema(IOutput $output, Closure $schemaClosure, array $options) { |
|
|
|
|
|
|
|
/** |
|
|
|
* @param IOutput $output |
|
|
|
* @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` |
|
|
|
* @param array $options |
|
|
|
* @return null|ISchemaWrapper |
|
|
|
*/ |
|
|
|
public function changeSchema(IOutput $output, Closure $schemaClosure, array $options) { |
|
|
|
/** @var ISchemaWrapper $schema */ |
|
|
|
$schema = $schemaClosure(); |
|
|
|
|