Skip to content

Use topics slug inplace of name

Shubham Kumar requested to merge url-safe-char into master

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 to slug
  • Swapping out name in the form with slug
  • Adding a DB migration to set the slug column to be non-nullable
  • Checking all other places where name is used, and replace that with slug 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.

Merge request reports

Loading