Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
keepanitreel opened this issue Sep 26, 2024 · 1 comment

Comments

@keepanitreel
Copy link

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 tpetry closed this as completed in a14719f Sep 27, 2024
@tpetry
Copy link
Owner

tpetry commented Sep 27, 2024

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.

@tpetry tpetry pinned this issue Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants