Doctrine\DBAL\Platforms\PostgreSqlPlatform::getIntegerTypeDeclarationSQL PHP Method

getIntegerTypeDeclarationSQL() public method

{@inheritDoc}
public getIntegerTypeDeclarationSQL ( array $field )
$field array
    public function getIntegerTypeDeclarationSQL(array $field)
    {
        if (!empty($field['autoincrement'])) {
            return 'SERIAL';
        }
        return 'INT';
    }
PostgreSqlPlatform