Skip to content

Conversation

@jmilljr24
Copy link
Collaborator

@jmilljr24 jmilljr24 commented Jan 7, 2026

What is the goal of this PR and why is this important?

Faq's have been migrated to production and healed. This changes the column to :position which aligns with the positioning gem naming convention. Using the default column name will give the ability to add scoped positions in the future as well as be more clear to future devs when handling position columns handled by the gem.

How did you approach the change?

Ran Faq.heal_ordering_column! in production to fix any null or duplicate positions and added a migration to change the column name to the Positioning gem default.

Add null constraint.

Anything else to add?

Create a list of all other models that should be updated to follow the same naming convention.

Copy link
Collaborator

@maebeale maebeale left a comment

Choose a reason for hiding this comment

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

So glad to have this modernized and resolved!

@jmilljr24 jmilljr24 merged commit 7d27bc8 into main Jan 8, 2026
3 checks passed
@jmilljr24 jmilljr24 deleted the Faq-position-migration branch January 8, 2026 14:03
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.

Add Database contraint on FAQ ordering

3 participants