migrate.provision.inc 337 Bytes
Newer Older
1 2 3 4
<?php
// $Id$

function drush_db_provision_migrate_validate() {
5
  d()->service('db')->connect();
6 7 8
}

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