Files
@ 642e6d7d18c4
Branch filter:
Location: kallithea/scripts/whitespacecleanup.sh
642e6d7d18c4
1.1 KiB
text/x-sh
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.