mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-06 13:38:25 -04:00
Update EmailBranding.name to be not null and unique.
Needed to update old migration scripts so that the email_branding name is not null when creating the test dbs. This should no affect the migrations elsewhere.
This commit is contained in:
@@ -6,13 +6,13 @@ post_create_email_branding_schema = {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"colour": {"type": ["string", "null"]},
|
||||
"name": {"type": ["string", "null"]},
|
||||
"name": {"type": "string"},
|
||||
"text": {"type": ["string", "null"]},
|
||||
"logo": {"type": ["string", "null"]},
|
||||
"domain": {"type": ["string", "null"]},
|
||||
"brand_type": {"enum": BRANDING_TYPES},
|
||||
},
|
||||
"required": []
|
||||
"required": ["name"]
|
||||
}
|
||||
|
||||
post_update_email_branding_schema = {
|
||||
|
||||
Reference in New Issue
Block a user