Skip to content

Validate the presence of default User and UserPreference attributes

Abdul Wadood requested to merge 388393-validate-attribute-presence into master

What does this MR do and why?

This is a follow-up of !102897 (diffs).

We want to make the columns with defaults NOT NULL in our database. As the first step according to our database guidelines, we want to validate their presence in the models.

MR Step
Validate the presence of default User and UserP... (!125728 - merged) 1 👈 You are here
Prevent adding new records with null attributes (!125744 - merged) 2
Fill null values of user_preferences table with... (!125774 - merged) 3

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #388393 (closed)

Edited by Abdul Wadood

Merge request reports