Skip to content
New issue

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

Can't set default value for fields #11832

Closed
3 tasks done
rashidpathiyil opened this issue Feb 24, 2022 · 2 comments
Closed
3 tasks done

Can't set default value for fields #11832

rashidpathiyil opened this issue Feb 24, 2022 · 2 comments

Comments

@rashidpathiyil
Copy link

rashidpathiyil commented Feb 24, 2022

Preflight Checklist

Describe the Bug

Can't update default value for fields on a fresh 9.5.2 Directus with Cockroach DB.

To Reproduce

2022-02-24.12-36-12-1.mp4

Errors Shown

image

What version of Directus are you using?

9.5.2

What version of Node.js are you using?

16.14.0

What database are you using?

cockroachdb

What browser are you using?

Edge

What operating system are you using?

Windows 11

How are you deploying Directus?

PaaS

@drnachio

This comment was marked as duplicate.

@licitdev
Copy link
Member

licitdev commented Jul 5, 2022

I believe this has been be resolved since v9.10.0 through the update of Knex to 2.0.0 in #13051.

Knex 1.0.0 includes a workaround to enable the experimental use of alter column in knex/knex#4874.

For more details on the experimental alter column, please refer to the PR in CockroachDB cockroachdb/cockroach#49329.

@licitdev licitdev closed this as completed Jul 5, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants