Mercurial > kallithea
diff Apache-License-2.0.txt @ 8430:642e6d7d18c4 stable
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.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Fri, 22 May 2020 14:02:55 +0200 |
parents | fd2dff0588bc |
children |