Doctrine\DBAL\Platforms\OraclePlatform::_getCreateTableSQL PHP Method

_getCreateTableSQL() protected method

{@inheritDoc}
protected _getCreateTableSQL ( $table, array $columns, array $options = [] )
$columns array
$options array
    protected function _getCreateTableSQL($table, array $columns, array $options = array())
    {
        $indexes = isset($options['indexes']) ? $options['indexes'] : array();
        $options['indexes'] = array();
        $sql = parent::_getCreateTableSQL($table, $columns, $options);
        foreach ($columns as $name => $column) {
            if (isset($column['sequence'])) {
                $sql[] = $this->getCreateSequenceSQL($column['sequence'], 1);
            }
            if (isset($column['autoincrement']) && $column['autoincrement'] || isset($column['autoinc']) && $column['autoinc']) {
                $sql = array_merge($sql, $this->getCreateAutoincrementSql($name, $table));
            }
        }
        if (isset($indexes) && !empty($indexes)) {
            foreach ($indexes as $index) {
                $sql[] = $this->getCreateIndexSQL($index, $table);
            }
        }
        return $sql;
    }
OraclePlatform