Multiple Unique Constraints with auto migrations
Full description is in pinned issue ADDED:
- UniqueConstraint Class with the same behavior as a Column
- CREATE and DROP auto migrations
- A bit of doc for a UniqueConstraint Class
- Updated tests
IMPORTANT! There`re no ALTER CONSTRAINT option, but will be added soon, I hope. For changing constraint I recommend do it with 2 migrations: DROP->CREATE
@northpowered Thanks for this, it looks promising!
I think the linters are currently failing because of isort.
@northpowered Thanks for this, it looks promising!
I think the linters are currently failing because of isort.
Mb because we are using different linters Due to testing, I failed only one test, but it`s the similar to the beginning of my work :D Also #583 has some details
@northpowered Sorry it has taken me so long - let's try and get these tests passing.
@dantownsend I changed list[...] to t.List[...] to keep this compatible with Python3.7 Also upgraded some files up to v.0.109.0