-
Notifications
You must be signed in to change notification settings - Fork 624
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #922. Removing index in form_field table for those upgrading. …
…Causes havoc for those who already had duplicate form field names/ form titles. However, we're now enforcing the following rules during form/field creation and for fresh installs : Forms must have unique titles, and custom fields within the same form must have unique names
- Loading branch information
Showing
4 changed files
with
14 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,2 @@ | ||
-- Add unique constraint on custom form field name/title | ||
ALTER TABLE `form_field` ADD UNIQUE ( | ||
`field_name` | ||
); | ||
|
||
-- UPDATE db_version | ||
UPDATE `settings` SET `value` = 99 WHERE `key` = 'db_version'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters