Any possibility that we could add a "Rollback and import" action? This is something I do over and over, and would be very helpful when testing my field mapping.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | rollback-and-import-1212818-3.patch | 2.55 KB | joelstein |
Any possibility that we could add a "Rollback and import" action? This is something I do over and over, and would be very helpful when testing my field mapping.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | rollback-and-import-1212818-3.patch | 2.55 KB | joelstein |
Comments
Comment #1
moshe weitzman commentedsee --rollback option on migrate-import drush command.
Comment #2
joelstein commentedSorry, I should have been more specific. I was wondering if this could be implemented in the UI?
Comment #3
joelstein commentedHere's a patch which adds a "Rollback and import" operation to the Migrate UI. It first rolls back a Migration, then imports it. If multiple migrations are selected, it properly reverses the Migrations so that they are rolled back in reverse order, and then imported in the proper order.
Comment #4
joelstein commentedComment #5
geerlingguy commentedWorks for me. +1 on having these kinds of things in the UI :)
Comment #6
joelstein commentedChanging the title to differentiate this from the drush functionality.
Comment #7
mikeryanCommitted, thanks!