migrate.provision.inc 347 Bytes
Newer Older
1 2 3 4 5 6 7 8
<?php
// $Id$

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

// Deletes the old database credentials
9
function drush_db_post_provision_migrate() {
10 11 12 13 14 15
  provision_service('db')->destroy_site_database(
    drush_get_option('db_name'),
    drush_get_option('db_user'),
    drush_get_option('db_passwd')
  );
}