鏡像自
https://github.com/nextcloud/server.git
synced 2024-08-26 17:55:04 +02:00
![Roeland Jago Douma](/assets/img/avatar_default.png)
Add a new column. In the postSchemaChange copy over the values (with lower). This should work just fine as this is a very simple operation. Even if you have 1M users in the db backend this should be fast enough. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
54 行
1.6 KiB
PHP
54 行
1.6 KiB
PHP
<?php
|
|
/**
|
|
* @copyright Copyright (c) 2016, ownCloud, Inc.
|
|
*
|
|
* @author Christoph Wurst <christoph@owncloud.com>
|
|
* @author Frank Karlitschek <frank@karlitschek.de>
|
|
* @author Joas Schilling <coding@schilljs.com>
|
|
* @author Lukas Reschke <lukas@statuscode.ch>
|
|
* @author Morris Jobke <hey@morrisjobke.de>
|
|
* @author Roeland Jago Douma <roeland@famdouma.nl>
|
|
* @author Vincent Petry <pvince81@owncloud.com>
|
|
*
|
|
* @license AGPL-3.0
|
|
*
|
|
* This code is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Affero General Public License, version 3,
|
|
* as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Affero General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Affero General Public License, version 3,
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
*
|
|
*/
|
|
// We only can count up. The 4. digit is only for the internal patchlevel to trigger DB upgrades
|
|
// between betas, final and RCs. This is _not_ the public version number. Reset minor/patchlevel
|
|
// when updating major/minor version number.
|
|
|
|
$OC_Version = array(14, 0, 0, 2);
|
|
|
|
// The human readable string
|
|
$OC_VersionString = '14.0.0 alpha';
|
|
|
|
$OC_VersionCanBeUpgradedFrom = [
|
|
'nextcloud' => [
|
|
'13.0' => true,
|
|
'14.0' => true,
|
|
],
|
|
'owncloud' => [
|
|
],
|
|
];
|
|
|
|
// default Nextcloud channel
|
|
$OC_Channel = 'git';
|
|
|
|
// The build number
|
|
$OC_Build = '';
|
|
|
|
// Vendor of this package
|
|
$vendor = 'nextcloud';
|