Unique Form-Hash
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
This commit is contained in:
parent
3aa0670d33
commit
1df7f2b2ec
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