public function autoMigrate($definitions) {
		if(!is_array($definitions))
			$definitions = [$definitions];
		$entitiesSchema = $this->getEntitiesSchemas($definitions);
		$sqlSchema = $this->getSQLSchemas();
		$this->processSchemas($entitiesSchema, $sqlSchema);
	}
public function autoMigrate($definitions) {
		if(!is_array($definitions))
			$definitions = [$definitions];
		$entitiesSchema = $this->getEntitiesSchemas($definitions);
		$sqlSchema = $this->getSQLSchemas();
		$this->processSchemas($entitiesSchema, $sqlSchema);
	}
public function autoMigrate ( $ definitions ) { if ( ! is_array ( $ definitions ) ) $ definitions = [ $ definitions ] ; $ entitiesSchema = $ this -> getEntitiesSchemas ( $ definitions ) ; $ sqlSchema = $ this -> getSQLSchemas ( ) ; $ this -> processSchemas ( $ entitiesSchema , $ sqlSchema ) ; }
Automatically migrate given entity definitions.
@param \Asgard\Entity\Definition[]|\Asgard\Entity\Definition $definitions
Automatically migrate given entity definitions .