2 people reported

All time, since Apr 11.

Pull breaks empty string defaults

“As you can see, the default is unterminated and thus fails.”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/drizzle/issues/5016/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

Pull generates unterminated default(') for empty string defaults. Generated schema code contains an unclosed single quote, e.g. text().default(') or varchar({ length: 10 }).default('), which fails.

Is this your bug?

File my report
Where
drizzle-kit pull
Versions
0.45.2
How bad
Breaks a normal workflow.

Original reports2, newest first

  1. [FYI]: a workaround for default(') by drizzle-kit <1.0.0#6119
  2. Drizzle-kit pull: default(') is an unterminated string.#5626

Do you work on Drizzle?

Claim its RAP Sheet to see what your users report and answer them in one place.