From b013773cf4897740deebfedd98dc06d1c0afe386 Mon Sep 17 00:00:00 2001 From: Michael Priest Date: Thu, 6 Sep 2018 13:00:45 +0930 Subject: [PATCH] Apply entity updates when performing database updates. (#47) --- RoboFileBase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RoboFileBase.php b/RoboFileBase.php index c3ae74d..42adb25 100644 --- a/RoboFileBase.php +++ b/RoboFileBase.php @@ -591,7 +591,7 @@ public function devImportDb($sql_file) { $this->_exec("$this->drush_cmd sqlq --file=$sql_file"); $this->_exec("$this->drush_cmd cr"); $this->_exec("$this->drush_cmd upwd admin --password=password"); - $this->_exec("$this->drush_cmd updb -y"); + $this->_exec("$this->drush_cmd updb --entity-updates -y"); $this->say('Duration: ' . date_diff(new DateTime(), $start)->format('%im %Ss')); $this->say('Database imported, admin user password is : password'); }