-
-
Notifications
You must be signed in to change notification settings - Fork 825
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12116 from eileenmcnaughton/cust_field
Add DB default of 0 for custom_group.is_multiple - CRM-21853
- Loading branch information
Showing
2 changed files
with
5 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
{* file to handle db changes in 5.3.alpha1 during upgrade *} | ||
ALTER TABLE civicrm_custom_group ALTER column is_multiple SET DEFAULT 0; | ||
UPDATE civicrm_custom_group SET is_multiple = 0 WHERE is_multiple IS NULL; | ||
ALTER TABLE civicrm_custom_group ALTER column is_active SET DEFAULT 1; |
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