-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Report hasn't been filed before.
- I have verified that the bug I'm about to report hasn't been filed before.
What version of drizzle-orm are you using?
0.44.7
What version of drizzle-kit are you using?
0.31.5
Other packages
No response
Describe the Bug
When running npx drizzle-kit pull, the default() function is not closing the opening quote. The first one generated in each table seems to be okay, but the moment a second, third, fourth, etc. one is generated it is broken.
export const postalCodes = mysqlTable("postal_codes", {
country: char({ length: 2 }),
postal: char({ length: 5 }).default('').notNull(),
name: varchar({ length: 180 }).default(').notNull(), // <-- Missing closing quote
});Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working