We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
drizzle-orm
0.28.6
drizzle-kit
0.19.13
With the text function with array as it type with default value as [""] text("vision_api_attributes").array().default([""])
text("vision_api_attributes").array().default([""])
this generates the following invliad sql.
"vision_api_attributes" text[] DEFAULT ,
Expected sql generated should be "vision_api_attributes" text[] DEFAULT ARRAY[]::text[],
"vision_api_attributes" text[] DEFAULT ARRAY[]::text[],
Also i am using postgres.
The text was updated successfully, but these errors were encountered:
Closing as duplicate of #1003 Please refer to #1344 for a discussion on how to work around this.
Sorry, something went wrong.
No branches or pull requests
What version of
drizzle-orm
are you using?0.28.6
What version of
drizzle-kit
are you using?0.19.13
Describe the Bug
With the text function with array as it type with default value as [""]
text("vision_api_attributes").array().default([""])
this generates the following invliad sql.
"vision_api_attributes" text[] DEFAULT ,
Expected behavior
Expected sql generated should be
"vision_api_attributes" text[] DEFAULT ARRAY[]::text[],
Environment & setup
Also i am using postgres.
The text was updated successfully, but these errors were encountered: