Browse Source
Merge pull request #4757 from nextcloud/bugfix/noid/make-sure-index-name-is-unique
Use a unique index name
pull/4762/head
Vincent Petry
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
lib/Migration/Version11000Date20201209142525.php
|
|
@ -103,7 +103,7 @@ class Version11000Date20201209142525 extends SimpleMigrationStep { |
|
|
|
]); |
|
|
|
|
|
|
|
$table->setPrimaryKey(['id']); |
|
|
|
$table->addUniqueIndex(['session_hash'], 'tg_session_hash'); |
|
|
|
$table->addUniqueIndex(['session_hash'], 'tgn_session_hash'); |
|
|
|
$changedSchema = true; |
|
|
|
} |
|
|
|
|
|
|
|