diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-09-26 12:13:29 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-09-26 12:13:29 +0200 |
commit | 5b4602b39ca38460cae3224676f3ec03277f0639 (patch) | |
tree | 24963459cd9fe378c7298528886ef1a584b2628d /archaeological_finds/migrations | |
parent | 1b3c31f8f73476cb179b67588f33da5ebd40c857 (diff) | |
download | Ishtar-5b4602b39ca38460cae3224676f3ec03277f0639.tar.bz2 Ishtar-5b4602b39ca38460cae3224676f3ec03277f0639.zip |
🐛 fix default value for property
Diffstat (limited to 'archaeological_finds/migrations')
-rw-r--r-- | archaeological_finds/migrations/0139_data_migration_owner_type.json | 104 |
1 files changed, 79 insertions, 25 deletions
diff --git a/archaeological_finds/migrations/0139_data_migration_owner_type.json b/archaeological_finds/migrations/0139_data_migration_owner_type.json index e49241655..e62500938 100644 --- a/archaeological_finds/migrations/0139_data_migration_owner_type.json +++ b/archaeological_finds/migrations/0139_data_migration_owner_type.json @@ -1,35 +1,89 @@ [ - { +{ "model": "archaeological_finds.ownertype", "fields": { - "label": "\u00c9tat", - "txt_idx": "etat", - "comment": "", - "available": true, - "order": 10, - "parent": null + "label": "Public", + "txt_idx": "public", + "comment": "", + "available": true, + "order": 10, + "parent": null } - }, - { +}, +{ "model": "archaeological_finds.ownertype", "fields": { - "label": "Collectivit\u00e9", - "txt_idx": "collectivite", - "comment": "", - "available": true, - "order": 20, - "parent": null + "label": "Priv\u00e9", + "txt_idx": "prive", + "comment": "", + "available": true, + "order": 20, + "parent": null } - }, - { +}, +{ "model": "archaeological_finds.ownertype", "fields": { - "label": "Inventeur", - "txt_idx": "inventeur", - "comment": "", - "available": true, - "order": 30, - "parent": null + "label": "\u00c9tat", + "txt_idx": "etat", + "comment": "", + "available": true, + "order": 10, + "parent": [ + "public" + ] } - } -]
\ No newline at end of file +}, +{ + "model": "archaeological_finds.ownertype", + "fields": { + "label": "Collectivit\u00e9 territoriale", + "txt_idx": "collectivite-territoriale", + "comment": "", + "available": true, + "order": 20, + "parent": [ + "public" + ] + } +}, +{ + "model": "archaeological_finds.ownertype", + "fields": { + "label": "Particulier", + "txt_idx": "particulier", + "comment": "", + "available": true, + "order": 10, + "parent": [ + "prive" + ] + } +}, +{ + "model": "archaeological_finds.ownertype", + "fields": { + "label": "Organisme priv\u00e9", + "txt_idx": "organisme-prive", + "comment": "", + "available": true, + "order": 20, + "parent": [ + "prive" + ] + } +}, +{ + "model": "archaeological_finds.ownertype", + "fields": { + "label": "\u00c9tat d\u00e9tenteur pr\u00e9caire", + "txt_idx": "etat-detenteur-precaire", + "comment": "", + "available": true, + "order": 10, + "parent": [ + "etat" + ] + } +} +] |