src/table/TinyIntegerColumn.php
/**
     * Checks if schema supports length for this column.
     * In case of MySQL the engine version must be lower than 8.0.17.
     * @param string|null $schema
     * @param string|null $engineVersion
     * @return bool
     */
Checks if schema supports length for this column.
In case of MySQL the engine version must be lower than 8.0.17.
@param string|null $schema
@param string|null $engineVersion
@return bool
Checks if schema supports length for this column . In case of MySQL the engine version must be lower than 8 . 0 . 17 . @param string|null $schema @param string|null $engineVersion @return bool
private function isSchemaLengthSupporting(?string $schema, ?string $engineVersion): bool
    {
        if ($engineVersion && $schema === Schema::MYSQL && version_compare($engineVersion, '8.0.17', '<')) {
            return true;
        }
        return in_array($schema, $this->lengthSchemas, true);
    }
private function isSchemaLengthSupporting ( ? string $ schema , ? string $ engineVersion ) : bool { if ( $ engineVersion && $ schema === Schema :: MYSQL && version_compare ( $ engineVersion , '8.0.17' , '<' ) ) { return true ; } return in_array ( $ schema , $ this -> lengthSchemas , true ) ; }
Checks if schema supports length for this column.
Checks if schema supports length for this column .