Skip to content

Enforce boolean defaults on Application Settings

Michael Kozono requested to merge mk-enforce-boolean-defaults into master

What does this MR do?

Enforces defaults and disallows nulls on application_settings boolean columns.

Why was this MR needed?

New application settings have two "defaults":

  • New install: When a record does not exist in application_settings, we use ApplicationSetting.defaults

  • On upgrade: When a record exists, the value defaults to the column default

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #2750 (closed)

Edited by Michael Kozono

Merge request reports

Loading