Open vgauthier opened 1 month ago
I had to manually edit the file before migrating. Same happens with the push command. @vgauthier how did you proceed ?
@jackkweyunga same as you, but I am not sure if the bug come from package Drizzle or pgvector-node package
What version of
drizzle-orm
are you using?0.30.10
What version of
drizzle-kit
are you using?No response
Describe the Bug
When using pg_vector extension the migration generate the following update.
ALTER TABLE "publications" ADD COLUMN "embedding" "vector(512)";
instead of
ALTER TABLE "publications" ADD COLUMN "embedding" vector(512); <= without quote on vector
produce the following error:
Expected behavior
ALTER TABLE "publications" ADD COLUMN "embedding" vector(512);
Environment & setup
using pgvector-node https://github.com/pgvector/pgvector-node