Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-04-06 10:44:34 +0300
committerGitHub <noreply@github.com>2020-04-06 10:44:34 +0300
commit9a4193f557f7c503a13903d165c55ead22c9b129 (patch)
treefdfbbed04357234c056b91f1f439900b5a2b5e81 /core
parentd25885441e8a39ab198bf7137ff3b32f8c0e908d (diff)
parent79dcd34a071d621a41a84448bbf5c66fd21b9c03 (diff)
Merge pull request #19761 from nextcloud/bugfix/19658/add_missing_index_to_original_migration
Add missing index to original migration
Diffstat (limited to 'core')
-rw-r--r--core/Migrations/Version13000Date20170718121200.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/core/Migrations/Version13000Date20170718121200.php b/core/Migrations/Version13000Date20170718121200.php
index 757697e7e90..4df2f4cbdab 100644
--- a/core/Migrations/Version13000Date20170718121200.php
+++ b/core/Migrations/Version13000Date20170718121200.php
@@ -94,11 +94,13 @@ class Version13000Date20170718121200 extends SimpleMigrationStep {
'notnull' => true,
'length' => 4,
]);
- $table->addColumn('storage_id', 'integer', [
+ $table->addColumn('storage_id', Type::BIGINT, [
'notnull' => true,
+ 'length' => 20,
]);
- $table->addColumn('root_id', 'integer', [
+ $table->addColumn('root_id', Type::BIGINT, [
'notnull' => true,
+ 'length' => 20,
]);
$table->addColumn('user_id', 'string', [
'notnull' => true,
@@ -108,8 +110,9 @@ class Version13000Date20170718121200 extends SimpleMigrationStep {
'notnull' => true,
'length' => 4000,
]);
- $table->addColumn('mount_id', 'integer', [
+ $table->addColumn('mount_id', Type::BIGINT, [
'notnull' => false,
+ 'length' => 20,
]);
$table->setPrimaryKey(['id']);
$table->addIndex(['user_id'], 'mounts_user_index');