-
-
Notifications
You must be signed in to change notification settings - Fork 735
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
[BUG]: drizzle-kit generate
didn't add CREATE EXTENSION IF NOT EXISTS vector;
#3929
Comments
We are on the following versions and are facing the same issue:
|
the |
the |
thanks! so what should be generated here to resolve the error:
|
You need to install the pg_vector exntension for postgres. Generally it's bundled If the command is not generated, before running the migration, edit your .sql and add the command at the top of the file |
Report hasn't been filed before.
What version of
drizzle-orm
are you using?0.38.3
What version of
drizzle-kit
are you using?0.30.1
Other packages
No response
Describe the Bug
my scheme.ts
then I run
drizzle generate
, it created a.sql
file but it's missingat the first line which will cause error if I run
drizzle migrate
:The text was updated successfully, but these errors were encountered: