xataio / client-ts

Xata.io SDK for TypeScript and JavaScript
https://xata.io/docs/sdk/typescript/overview
Apache License 2.0
123 stars 8 forks source link

string default: undefined when not null is false #830

Open kostasb opened 1 year ago

kostasb commented 1 year ago

Describe the bug version: @xata.io/cli/0.11.5 string default: undefined shows next to string columns even when not null is false.

To reproduce, create a string column that doesn't have the not null constraint.

image

The undefined error shows both in the plan: image

As well as after the migration is executed:

image

alexfrancoeur commented 1 year ago

Another one for @richardgill while he's in the CLI. Option for the bug squashing jamboree?