migrate.provision.inc

  1. 7.x-3.x platform/migrate.provision.inc
  2. 7.x-3.x db/migrate.provision.inc
  3. 7.x-3.x http/migrate.provision.inc

Functions

File

db/migrate.provision.inc
View source
  1. <?php
  2. function drush_db_provision_migrate_validate() {
  3. d()->service('db')->connect();
  4. }
  5. // Deletes the old database credentials
  6. function drush_db_post_provision_migrate() {
  7. provision_reload_config('site', d()->site_path . '/drushrc.php');
  8. d()->service('db')->destroy_site_database();
  9. }