I don't know if there's any reason this isn't supported right now, but I feel like it should be. Patch coming right quick.

CommentFileSizeAuthor
#1 tablerollback-2158661-1.patch1.75 KBchellman
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

chellman’s picture

Status: Active » Needs review
FileSize
1.75 KB
13rac1’s picture

Status: Needs review » Needs work

Looks good. Any reason we wouldn't want it further up in MigrateDestination? Seems like it could be useful elsewhere? Correct me, if I am wrong! I haven't used MigrateDestinationTable myself yet.

mikeryan’s picture

Agreed with @eosrei - looking at this, the prepare(Rollback) and complete(Rollback) methods could have default implementations in MigrateDestination, and the existing implementations could call the parent method for the basic call-the-migration-class functionality.

pifagor’s picture

Status: Needs work » Closed (outdated)