src/Driver/SQLServer/Schema/SQLServerColumn.php
private function enumStatement(DriverInterface $driver): string
    {
        $enumValues = [];
        foreach ($this->enumValues as $value) {
            $enumValues[] = $driver->quote($value);
        }

        $constrain = $driver->identifier($this->enumConstraint());
        $column = $driver->identifier($this->getName());
        $enumValues = implode(', ', $enumValues);

        return "CONSTRAINT {$constrain} CHECK ({$column} IN ({$enumValues}))";
    }
private function enumStatement(DriverInterface $driver): string
    {
        $enumValues = [];
        foreach ($this->enumValues as $value) {
            $enumValues[] = $driver->quote($value);
        }

        $constrain = $driver->identifier($this->enumConstraint());
        $column = $driver->identifier($this->getName());
        $enumValues = implode(', ', $enumValues);

        return "CONSTRAINT {$constrain} CHECK ({$column} IN ({$enumValues}))";
    }
private function enumStatement ( DriverInterface $ driver ) : string { $ enumValues = [ ] ; foreach ( $ this -> enumValues as $ value ) { $ enumValues [ ] = $ driver -> quote ( $ value ) ; } $ constrain = $ driver -> identifier ( $ this -> enumConstraint ( ) ) ; $ column = $ driver -> identifier ( $ this -> getName ( ) ) ; $ enumValues = implode ( ', ' , $ enumValues ) ; return "CONSTRAINT {$constrain} CHECK ({$column} IN ({$enumValues}))" ; }
In SQLServer we can emulate enums similar way as in Postgres via column constrain.

@param DriverInterface $driver
@return string
In SQLServer we can emulate enums similar way as in Postgres via column constrain .