protected function loadTableSchema($name) { $table = new TableSchema(); $this->resolveTableNames($table, $name); if ($this->findColumns($table)) { $this->findConstraints($table); return $table; } else { return null; } }
/** * @inheritdoc * @return TableSchema */ protected function loadTableSchema($name) { $table = parent::loadTableSchema($name); if (is_object($table)) { $table = new TableSchema(get_object_vars($table)); $this->findComment($table); $this->findIsView($table); $this->findUniqueKeys($table); $this->findTitleKey($table); $table->fix(); } return $table; }