diff options
author | Christopher Ng <chrng8@gmail.com> | 2021-12-03 20:02:03 +0000 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2021-12-03 20:29:53 +0000 |
commit | e224401a62f78466d38852c7765dc0811133e268 (patch) | |
tree | e031a96e16910ae5d0ae4d88980b6d64d341b896 /core/Migrations/Version23000Date20210930122352.php | |
parent | dcec9fef736a2424dd08b5bf6feb416203eb4264 (diff) | |
download | nextcloud-server-e224401a62f78466d38852c7765dc0811133e268.tar.gz nextcloud-server-e224401a62f78466d38852c7765dc0811133e268.zip |
Fix relation "user_id" already exists migration error
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'core/Migrations/Version23000Date20210930122352.php')
-rw-r--r-- | core/Migrations/Version23000Date20210930122352.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Migrations/Version23000Date20210930122352.php b/core/Migrations/Version23000Date20210930122352.php index e3eb9af7eba..e8400377b3e 100644 --- a/core/Migrations/Version23000Date20210930122352.php +++ b/core/Migrations/Version23000Date20210930122352.php @@ -60,7 +60,7 @@ class Version23000Date20210930122352 extends SimpleMigrationStep { 'notnull' => true, ]); $table->setPrimaryKey(['id']); - $table->addUniqueIndex(['user_id'], 'user_id'); + $table->addUniqueIndex(['user_id'], self::TABLE_NAME . '_user_id_idx'); return $schema; } |