Add the bio and the gpg field in the users.
Also, the user migration was updated to migrate the data of these fields.
This commit is contained in:
parent
f9db6433cd
commit
14e829fd66
9 changed files with 198 additions and 33 deletions
|
@ -7,18 +7,18 @@ source:
|
|||
process:
|
||||
filename: filename
|
||||
source_full_path:
|
||||
-
|
||||
plugin: concat
|
||||
delimiter: /
|
||||
source:
|
||||
- filepath
|
||||
-
|
||||
plugin: str_replace
|
||||
search: 'sites/default/files/'
|
||||
# The old files must be located at this path:
|
||||
replace: 'sites/default/import/'
|
||||
-
|
||||
plugin: urlencode
|
||||
-
|
||||
plugin: concat
|
||||
delimiter: /
|
||||
source:
|
||||
- filepath
|
||||
-
|
||||
plugin: str_replace
|
||||
search: 'sites/default/files/'
|
||||
# The old files must be located at this path:
|
||||
replace: 'sites/default/import/'
|
||||
-
|
||||
plugin: urlencode
|
||||
uri:
|
||||
plugin: file_copy
|
||||
source:
|
||||
|
@ -29,17 +29,17 @@ process:
|
|||
created: timestamp
|
||||
changed: timestamp
|
||||
uid:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: agaric_user
|
||||
source: uid
|
||||
no_stub: true
|
||||
-
|
||||
# If the user id does not exists then migrate it as anonymous.
|
||||
plugin: default_value
|
||||
default_value: 0
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: agaric_user
|
||||
source: uid
|
||||
no_stub: true
|
||||
-
|
||||
# If the user id does not exists then migrate it as anonymous.
|
||||
plugin: default_value
|
||||
default_value: 0
|
||||
destination:
|
||||
plugin: entity:file
|
||||
migration_dependencies:
|
||||
required:
|
||||
- nichq_community_user
|
||||
- agaric_user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue