public function MigrateSQLMap::destroy in Migrate 7.2
Same name and namespace in other branches
- 6.2 plugins/sources/sqlmap.inc \MigrateSQLMap::destroy()
Remove the associated map and message tables.
Overrides MigrateMap::destroy
File
- plugins/
sources/ sqlmap.inc, line 683 - Defines a Drupal db-based implementation of MigrateMap.
Class
- MigrateSQLMap
- @file Defines a Drupal db-based implementation of MigrateMap.
Code
public function destroy() {
$this->connection
->schema()
->dropTable($this->mapTable);
$this->connection
->schema()
->dropTable($this->messageTable);
}