1 person reported
All time, since Oct 13.
Pull mangles expression defaults
“The pulled schema file then does not compile, or it holds a string or an invalid Date where the database holds an expression.”
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/12197/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 writes expression column defaults as code or strings. The pulled schema file then does not compile, or generate and push emit SET DEFAULT although the database did not change.
Is this your bug?
File my report- Where
- drizzle-kit pull
- Error text
error TS2304: Cannot find name 'random'.- Versions
- 1.0.0-rc.5
- How bad
- Breaks a normal workflow.
Not quite your bug?
- No-op migration after kit up3 people