There is a one-to-one correspondence between records in saml_application_configs and SAML apps.
If a SAML app is created via the API without simultaneously inserting a record into saml_application_configs, we would need to determine, based on the DB state at that time, when to insert a saml_application_configs record. If these fields are not nullable, for a particular SAML app, when the SAML config record does not exist, it would be impossible to use the patch API to modify one of these fields individually.
Summary
add
saml_application_configs
tableWe made
entity_id
andacs_url
nullable because:saml_application_configs
and SAML apps.saml_application_configs
, we would need to determine, based on the DB state at that time, when to insert asaml_application_configs
record. If these fields are not nullable, for a particular SAML app, when the SAML config record does not exist, it would be impossible to use the patch API to modify one of these fields individually.Testing
Covered by CI.
Checklist
.changeset