Merge pull request #287 from nextcloud/fix/unique_hash
Unique Form-Hash
This commit is contained in:
commit
597a34ea25
1 changed files with 1 additions and 0 deletions
|
|
@ -105,6 +105,7 @@ class Version010200Date2020323141300 extends SimpleMigrationStep {
|
|||
'default' => 0,
|
||||
]);
|
||||
$table->setPrimaryKey(['id']);
|
||||
$table->addUniqueIndex(['hash'], 'uniqueHash');
|
||||
}
|
||||
|
||||
if (!$schema->hasTable('forms_v2_questions')) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue