more migration
This commit is contained in:
@@ -43,14 +43,18 @@ source:
|
||||
name: projet_type
|
||||
label: 'Type de projet'
|
||||
selector: 'Type de projet'
|
||||
-
|
||||
name: invites
|
||||
label: 'Invité/accompagné/curaté par'
|
||||
selector: 'invité/accompagné/curaté par'
|
||||
-
|
||||
name: curator
|
||||
label: 'Commissaria'
|
||||
selector: 'invité/accompagné/curaté par'
|
||||
-
|
||||
name: artistes
|
||||
label: 'Artistes invité·es'
|
||||
selector: 'Artistes invité·es'
|
||||
-
|
||||
name: partners
|
||||
label: 'Partenaires associés'
|
||||
selector: 'Partenaires associés'
|
||||
# Under 'ids', we identify source fields populated above which will uniquely
|
||||
# identify each imported item. The 'type' makes sure the migration map table
|
||||
# uses the proper schema type for stored the IDs.
|
||||
@@ -91,9 +95,25 @@ process:
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
source: invites
|
||||
source: curator
|
||||
-
|
||||
plugin: personne_generate
|
||||
type_de_personne: curateur
|
||||
field_artiste_s_invite_s:
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
source: artistes
|
||||
-
|
||||
plugin: personne_generate
|
||||
type_de_personne: artiste
|
||||
field_partenaire_s:
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
source: partners
|
||||
-
|
||||
plugin: partenaire_generate
|
||||
uid:
|
||||
plugin: default_value
|
||||
default_value: 3
|
||||
|
||||
Reference in New Issue
Block a user