-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Negative length for a character varying field displayed (PostgreSQL) #21507
Comments
Seems like this bug originates from here: directus/packages/schema/src/dialects/postgres.ts Lines 372 to 376 in a33cb1f
where a character varying field without length defined would have Adding a similar
The solution used for Postgres dialect should also be propagated to CockroachDB as it contains the same logic. |
Describe the Bug
Directus displays a negative length for a character varying field:
pg_dump describes the schema as follows:
Directus 10.9.2, PostgreSQL 14.10
To Reproduce
Directus Version
v10.9.2
Hosting Strategy
Self-Hosted (Custom)
The text was updated successfully, but these errors were encountered: