Make more explicit in Schema::changeField() which indexes need to be rebuilt

Created on 1 August 2013, almost 11 years ago
Updated 16 February 2023, over 1 year ago

Schema::changeField() shows the following note.

IMPORTANT NOTE: To maintain database portability, you have to explicitly recreate all indices and primary keys that are using the changed field.

I would make it more explicit by adding a sentence, changing that note to the following one.

IMPORTANT NOTE: To maintain database portability, you have to explicitly recreate all indices and primary keys that are using the changed field. Only those indexes that directly use the changed field need to be dropped and re-added.

📌 Task
Status

Needs work

Version

10.1 ✨

Component
Documentation  →

Last updated about 10 hours ago

No maintainer
Created by

🇺🇸United States Clearbrook

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024