Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REF - Fix Campaign index names, add default value for created_date #26231

Merged
merged 1 commit into from
Jun 5, 2023

Conversation

colemanw
Copy link
Member

Overview

Fix misnamed indexes in the civicrm_campaign table and add default value for created_date field.
This is a bite-sized chunk of #25998

Before

Indexes incorrectly named. Our convention is to prefix unique indexes with UI_ and non-unique ones with index_. Since these indexes are not unique, they had the wrong prefix.

After

Fixed indexes, added a default value for created_date field instead of supplying it with PHP.

@civibot
Copy link

civibot bot commented May 16, 2023

(Standard links)

@aydun
Copy link
Contributor

aydun commented Jun 5, 2023

Looks reasonable - and rebuilding those indexes is not likely to be a big hit during upgrade.

@aydun aydun merged commit 854a117 into civicrm:master Jun 5, 2023
@colemanw colemanw deleted the campaignIndexes branch June 7, 2023 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants