Rename default_theme_id into theme_id

And update initial and example data.
This commit is contained in:
Ludwig Reiter 2021-10-06 11:19:27 +02:00
parent fdfe3bd66a
commit 285b900b5a
3 changed files with 8 additions and 8 deletions

View File

@ -19,7 +19,7 @@
], ],
"resource_ids": [], "resource_ids": [],
"organization_tag_ids": [], "organization_tag_ids": [],
"default_theme_id": 1, "theme_id": 1,
"theme_ids": [1] "theme_ids": [1]
} }
}, },
@ -77,7 +77,7 @@
"primary_500": "#317796", "primary_500": "#317796",
"warn_500": "#f06400", "warn_500": "#f06400",
"organization_id": 1, "organization_id": 1,
"default_theme_for_organization_id": 1 "theme_for_organization_id": 1
} }
}, },
"committee": { "committee": {

View File

@ -23,7 +23,7 @@
"organization_tag_ids": [ "organization_tag_ids": [
1 1
], ],
"default_theme_id": 1, "theme_id": 1,
"theme_ids": [1] "theme_ids": [1]
} }
}, },
@ -340,7 +340,7 @@
"primary_500": "#317796", "primary_500": "#317796",
"warn_500": "#f06400", "warn_500": "#f06400",
"organization_id": 1, "organization_id": 1,
"default_theme_for_organization_id": 1 "theme_for_organization_id": 1
} }
}, },
"organization_tag": { "organization_tag": {

View File

@ -116,11 +116,11 @@ organization:
type: relation-list type: relation-list
restriction_mode: B restriction_mode: B
to: organization_tag/organization_id to: organization_tag/organization_id
default_theme_id: theme_id:
type: relation type: relation
required: true required: true
restriction_mode: A restriction_mode: A
to: theme/default_theme_for_organization_id to: theme/theme_for_organization_id
theme_ids: theme_ids:
type: relation-list type: relation-list
restriction_mode: A restriction_mode: A
@ -536,9 +536,9 @@ theme:
warn_a700: warn_a700:
restriction_mode: A restriction_mode: A
type: color type: color
default_theme_for_organization_id: theme_for_organization_id:
restriction_mode: A restriction_mode: A
to: organization/default_theme_id to: organization/theme_id
type: relation type: relation
organization_id: organization_id:
required: true required: true