Skip to content

Update JSON definition to lowercase to match MySQL output#1

Merged
boren-xue merged 1 commit into
0from
0.0.1
May 18, 2026
Merged

Update JSON definition to lowercase to match MySQL output#1
boren-xue merged 1 commit into
0from
0.0.1

Conversation

@boren-xue
Copy link
Copy Markdown
Contributor

@boren-xue boren-xue commented May 18, 2026

This fixes a bug where the during the SilverStripe build, JSON fields are always rebuilt even when there are no changes because of the casing difference between the MySQL output and target definition (JSON vs json).

image
  • Fix this by updating the JSON column definition to lowercase json.

Copy link
Copy Markdown
Member

@maxime-rainville maxime-rainville left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think there's any obviously good way to assert that "pre-existing columns don't get obviously rebuilt for nothing".

So we can probably skip unit test for this.

@boren-xue boren-xue merged commit ff81267 into 0 May 18, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants