Files
@ 642e6d7d18c4
Branch filter:
Location: kallithea/conftest.py
642e6d7d18c4
2.0 KiB
text/x-python
db: drop double specification of unique constraint (Issue #374)
Consistently use "unique=True" for single column constraints. Only use
UniqueConstraint for composite constraints.
MySQL did not like this double specification, while PostgreSQL and SQLite
did not care.
Consistently use "unique=True" for single column constraints. Only use
UniqueConstraint for composite constraints.
MySQL did not like this double specification, while PostgreSQL and SQLite
did not care.