Open shreyassanthu77 opened 1 month ago
so libsql has a built in vector extension and has a way to create an index on a vector field eg
CREATE INDEX test_idx ON example (libsql_vector_idx(blob));
also there's no way (that i know of) to write this with drizzle
but when i run drizzle-kit push
again it asks to drop the index and i don't think there's a way to tell drizzle kit to ignore just that index/table
What version of
drizzle-orm
are you using?0.33.0
What version of
drizzle-kit
are you using?0.24.2
Describe the Bug
So I have the following schema file
and here's the blob.ts file
the drizzle config file
when i run
drizzle-kit push
for the first time with an empty libsql dbwhen i run
drizzle-kit push
just after the first one with 0 changes to the schema file or theblob.ts
whatsoeverExpected behavior
well, the expected behaviour is it should not happen. This is just an example but in a real production app with a lot of relations, all the tables that depend on this table are being renamed and copied for no reason at all. This is bad and causes foriegn key errors sometimes which is frustrating and now i am just manually running my migrations but would be very helpful if i didn't have to.
btw Love the project and very grateful for all the work :)
Environment & setup