Use topics slug inplace of name
What does this MR do and why?
Ensure that the slug
column has presence validation, and is non-nullable in the database. This includes:
- Adding
presence: true
validation toslug
- Swapping out
name
in the form withslug
- Adding a DB migration to set the
slug
column to be non-nullable - Checking all other places where
name
is used, and replace that withslug
instead.
Closes #414892
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.