public function ensureDbTableStructureIsFresh() { $source = SQL::getCreateTable($this->getTableName()); $destination = $this->getCreateTableStatement(); $sync = new Sync(); $sync->makeItWork(); $sql = $sync->getUpdates($source, $destination); // Commented - do not auto run migrations, but only show desired changes // if ($sql) { // foreach ($sql as $item) { // q($item); // } // } return $sql; }