Commit 01531a3a authored by Adrian Rossouw's avatar Adrian Rossouw Committed by adrian
Browse files

During deploy, updatedb is run in a backend process on the OLD database...

During deploy, updatedb is run in a backend process on the OLD database because the new database details have not been saved to the drushrc yet, which is now the canonical source for the information
parent 5743ea0f
...@@ -88,6 +88,7 @@ function drush_provision_drupal_provision_deploy($url) { ...@@ -88,6 +88,7 @@ function drush_provision_drupal_provision_deploy($url) {
function drush_provision_drupal_post_provision_deploy($url) { function drush_provision_drupal_post_provision_deploy($url) {
provision_prepare_environment(); provision_prepare_environment();
_provision_drupal_create_settings_file($url); _provision_drupal_create_settings_file($url);
provision_save_site_data($url);
// call the drush updatedb command. // call the drush updatedb command.
drush_backend_invoke("updatedb", array('uri' => "http://$url")); drush_backend_invoke("updatedb", array('uri' => "http://$url"));
// We should be able to fully load Drupal now. // We should be able to fully load Drupal now.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment