-3

I'm doing a migration from csv to Drupal 8 and I'm not sure how to handle the required fields.

My content type "Department" has 8 required fields, should I use the plugin "skip_on_empty" in every migration field? There is a simpler way to do this?

enter image description here

enter image description here

The point is prevent empty required fields. Thanks all.

1
  • Well, having the data is better than not having the data. Any reason you are not stubbing? That would put a placeholder value in until the actual record is migrated.
    – Kevin
    Aug 7, 2019 at 11:35

1 Answer 1

1

This is actually a business decision and not a Drupal related question. You have three solutions

  1. Bring in the data as is and end up with a corrupted database
  2. Skip rows that do not answer to your requirements
  3. Give default values to the required fields

Not the answer you're looking for? Browse other questions tagged or ask your own question.