summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2026-04-07 10:21:36 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2026-04-07 19:25:04 +0200
commit5274764a21a4906f13808309fbdd446cf40861f7 (patch)
tree9c01f53cd8ad7d2303891cc7f9a4769aef9b9b88
parent053ac5865c80c8857dc887d707fc6a7d83272730 (diff)
downloadIshtar-5274764a21a4906f13808309fbdd446cf40861f7.tar.bz2
Ishtar-5274764a21a4906f13808309fbdd446cf40861f7.zip
🗃️ update default data for site relation types
-rw-r--r--archaeological_operations/migrations/0129_data_migration.json176
1 files changed, 139 insertions, 37 deletions
diff --git a/archaeological_operations/migrations/0129_data_migration.json b/archaeological_operations/migrations/0129_data_migration.json
index e60f33f27..edf090689 100644
--- a/archaeological_operations/migrations/0129_data_migration.json
+++ b/archaeological_operations/migrations/0129_data_migration.json
@@ -82,50 +82,152 @@
"order": 10
}
},
-{
+ {
"model": "archaeological_operations.siterelationtype",
"fields": {
- "label": "Comprend",
- "txt_idx": "comprend",
- "comment": "",
- "available": true,
- "order": 1,
- "symmetrical": false,
- "tiny_label": null,
- "inverse_relation": [
- "compris-dans"
- ],
- "logical_relation": null
+ "label": "Voisin de",
+ "txt_idx": "voisin-de",
+ "comment": "",
+ "available": true,
+ "order": 30,
+ "symmetrical": true,
+ "tiny_label": null,
+ "inverse_relation": null,
+ "logical_relation": null
}
-},
-{
+ },
+ {
"model": "archaeological_operations.siterelationtype",
"fields": {
- "label": "Compris dans",
- "txt_idx": "compris-dans",
- "comment": "",
- "available": true,
- "order": 1,
- "symmetrical": false,
- "tiny_label": null,
- "inverse_relation": [
- "comprend"
- ],
- "logical_relation": null
+ "label": "Relation indirecte",
+ "txt_idx": "relation-indirecte",
+ "comment": "",
+ "available": true,
+ "order": 40,
+ "symmetrical": true,
+ "tiny_label": null,
+ "inverse_relation": null,
+ "logical_relation": null
}
-},
-{
+ },
+ {
"model": "archaeological_operations.siterelationtype",
"fields": {
- "label": "Lié à",
- "txt_idx": "lie-a",
- "comment": "",
- "available": true,
- "order": 1,
- "symmetrical": true,
- "tiny_label": null,
- "inverse_relation": null,
- "logical_relation": null
+ "label": "Parent de",
+ "txt_idx": "parent-de",
+ "comment": "",
+ "available": true,
+ "order": 10,
+ "symmetrical": false,
+ "tiny_label": null,
+ "inverse_relation": null,
+ "logical_relation": null
+ }
+ },
+ {
+ "model": "archaeological_operations.siterelationtype",
+ "fields": {
+ "label": "Enfant de",
+ "txt_idx": "enfant-de",
+ "comment": "",
+ "available": true,
+ "order": 20,
+ "symmetrical": false,
+ "tiny_label": null,
+ "inverse_relation": null,
+ "logical_relation": null
+ }
+ },
+ {
+ "model": "archaeological_operations.siterelationtype",
+ "fields": {
+ "label": "Ant\u00e9rieure \u00e0",
+ "txt_idx": "anterieure-a",
+ "comment": "",
+ "available": true,
+ "order": 50,
+ "symmetrical": false,
+ "tiny_label": null,
+ "inverse_relation": null,
+ "logical_relation": null
+ }
+ },
+ {
+ "model": "archaeological_operations.siterelationtype",
+ "fields": {
+ "label": "Post\u00e9rieure \u00e0",
+ "txt_idx": "posterieure-a",
+ "comment": "",
+ "available": true,
+ "order": 60,
+ "symmetrical": false,
+ "tiny_label": null,
+ "inverse_relation": null,
+ "logical_relation": null
+ }
+ },
+ {
+ "model": "archaeological_operations.siterelationtype",
+ "fields": {
+ "label": "Parent de",
+ "txt_idx": "parent-de",
+ "comment": "",
+ "available": true,
+ "order": 10,
+ "symmetrical": false,
+ "tiny_label": null,
+ "inverse_relation": [
+ "enfant-de"
+ ],
+ "logical_relation": null
+ }
+ },
+ {
+ "model": "archaeological_operations.siterelationtype",
+ "fields": {
+ "label": "Enfant de",
+ "txt_idx": "enfant-de",
+ "comment": "",
+ "available": true,
+ "order": 20,
+ "symmetrical": false,
+ "tiny_label": null,
+ "inverse_relation": [
+ "parent-de"
+ ],
+ "logical_relation": null
+ }
+ },
+ {
+ "model": "archaeological_operations.siterelationtype",
+ "fields": {
+ "label": "Ant\u00e9rieure \u00e0",
+ "txt_idx": "anterieure-a",
+ "comment": "",
+ "available": true,
+ "order": 50,
+ "symmetrical": false,
+ "tiny_label": null,
+ "inverse_relation": [
+ "posterieure-a"
+ ],
+ "logical_relation": null
+ }
+ },
+ {
+ "model": "archaeological_operations.siterelationtype",
+ "fields": {
+ "label": "Post\u00e9rieure \u00e0",
+ "txt_idx": "posterieure-a",
+ "comment": "",
+ "available": true,
+ "order": 60,
+ "symmetrical": false,
+ "tiny_label": null,
+ "inverse_relation": [
+ "anterieure-a"
+ ],
+ "logical_relation": null
}
-}
+ }
]