mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
fix(core): use Types::STRING in etag systemtag migration
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
parent
3e6d18aaf6
commit
22d674be66
1 changed files with 2 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ declare(strict_types=1);
|
|||
namespace OC\Core\Migrations;
|
||||
|
||||
use Closure;
|
||||
use Doctrine\DBAL\Types\Types;
|
||||
use OCP\DB\ISchemaWrapper;
|
||||
use OCP\Migration\IOutput;
|
||||
use OCP\Migration\SimpleMigrationStep;
|
||||
|
|
@ -41,7 +42,7 @@ class Version31000Date20241018063111 extends SimpleMigrationStep {
|
|||
$table = $schema->getTable('systemtag');
|
||||
|
||||
if (!$table->hasColumn('etag')) {
|
||||
$table->addColumn('etag', 'string', [
|
||||
$table->addColumn('etag', Types::STRING, [
|
||||
'notnull' => false,
|
||||
'length' => 32,
|
||||
]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue