tpetry / laravel-postgresql-enhanced

Support for many missing PostgreSQL specific features
MIT License
754 stars 32 forks source link

Laravel 11.25.0 introduces vector support and breaks BlueprintTypes::vector #100

Closed keepanitreel closed 4 days ago

keepanitreel commented 5 days ago

Laravel Framework PR adds support for vector and breaks BlueprintTypes::vector

Declaration of Tpetry\PostgresqlEnhanced\Schema\BlueprintTypes::vector(string $column, int $dimensions = 1536): Illuminate\Database\Schema\ColumnDefinition must be compatible with Illuminate\Database\Schema\Blueprint::vector($column, $dimensions)
tpetry commented 4 days ago

This issue is fixed with version 2.0.0.

The only breaking change to v1 is that the default $dimensions value to 1536 had to be dropped. It is now required to always specify it.