migrate.provision.inc 351 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<?php
// $Id$

function drush_db_provision_migrate_validate() {
  provision_service('db')->connect();
}

// Deletes the old database credentials
function drush_db_post_provision_migrate($url) {
  provision_service('db')->destroy_site_database(
    drush_get_option('db_name'),
    drush_get_option('db_user'),
    drush_get_option('db_passwd')
  );
}