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
parent
commit
483040e637
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      lib/Migration/Version11000Date20201209142525.php

2
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;
}

Loading…
Cancel
Save