django-db-constraints icon indicating copy to clipboard operation
django-db-constraints copied to clipboard

Add database table-level constraints to your Django model's Meta

Results 8 django-db-constraints issues
Sort by recently updated
recently updated
newest added

I split the sql query in part to execute correctly on sqlserver.

I've found an issue with renaming a field that has an existing constraint. I think this is because the DROP/ADD of the constraint due to the rename is done before...

Hey! This package has been really great but I discovered a hole in my testing suite regarding the generated constraints. I run pytest for my django project w/ a `--no-migrations`...

At least on postgres, constraint names need to be globally unique. - Two constraints in different tables with the same name will result in one overwriting the other - If...

It would be nice to support CREATE UNIQUE INDEX for the use case discussed in this stack exchange question: https://stackoverflow.com/questions/33307892/django-unique-together-with-nullable-foreignkey i.e., special indexes like: ``` CREATE UNIQUE INDEX model_b_2col_uni_idx ON...

Would you be open to supporting python 2.7? It looks like the only issues are the calls to super(). Python2 requires the (current classname, self) to be passed, but you...

Hi, I am unable to migrate due to `reload_model` called with incorrect arguments, specifically `delay` is passed in but this is not in the function parameter list. In `AlterConstraints`: ```python...

bug