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

The explicit NULL column constraint is not working in Citus 12 #195

Open
pbav opened this issue Aug 11, 2023 · 0 comments
Open

The explicit NULL column constraint is not working in Citus 12 #195

pbav opened this issue Aug 11, 2023 · 0 comments

Comments

@pbav
Copy link

pbav commented Aug 11, 2023

ALTER TABLE a ADD COLUMN b INT NULL;
[2023-08-11 11:53:30] [XX000] ERROR: unsupported constraint type
[2023-08-11 11:53:30] Detail: constraint type: 0

Details: citusdata/citus#7110

Please consider including a workaround

# django_multitenant/backends/postgresql/base.py
class TenantDatabaseFeatures(PostgresqlDatabaseFeatures):
    implied_column_null = True

in django-multitenant project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant