public function create(array $metadata)
    {
        $schema = $this->getSchemaFromMetadata($metadata);

        $statements = $schema->toSql($this->platform);

        $this->build($statements);

        return $statements;
    }
public function create(array $metadata)
    {
        $schema = $this->getSchemaFromMetadata($metadata);

        $statements = $schema->toSql($this->platform);

        $this->build($statements);

        return $statements;
    }
public function create ( array $ metadata ) { $ schema = $ this -> getSchemaFromMetadata ( $ metadata ) ; $ statements = $ schema -> toSql ( $ this -> platform ) ; $ this -> build ( $ statements ) ; return $ statements ; }
Create all tables.

@param array $metadata
@return array
Create all tables .