Files
@ 642e6d7d18c4
Branch filter:
Location: kallithea/docs/api/models.rst
642e6d7d18c4
511 B
text/prs.fallenstein.rst
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.