-
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.
Fix #906 - make form_field.field_default TEXT column
Also make ispublic fields match role_id otherwise we get errors for role_id greater that 127
- Loading branch information
Showing
3 changed files
with
13 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
-- Alter form_field.field_default to TEXT column | ||
-- Alter field_ispublic fields to match role id | ||
ALTER TABLE `form_field` | ||
MODIFY COLUMN `field_default` TEXT, | ||
MODIFY COLUMN `field_ispublic_visible` INT(11) NOT NULL DEFAULT '0', | ||
MODIFY COLUMN `field_ispublic_submit` INT(11) NOT NULL DEFAULT '0'; | ||
|
||
-- Update DB Version | ||
UPDATE `settings` SET `value` = 106 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