Merge pull request #12265 from nextcloud/dav-bump

bump dav version for migration
This commit is contained in:
Roeland Jago Douma 2018-11-05 09:05:32 +01:00 committed by GitHub
commit dcddccb004
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 7 deletions

View File

@ -5,7 +5,7 @@
<name>WebDAV</name>
<summary>WebDAV endpoint</summary>
<description>WebDAV endpoint</description>
<version>1.7.1</version>
<version>1.7.2</version>
<licence>agpl</licence>
<author>owncloud.org</author>
<namespace>DAV</namespace>

View File

@ -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();