﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
30910	Add system check warning on duplicate check constraints.	Jon Dufresne	nobody	"Recently, due to an oversight when copying & pasting code, I created a duplicate `CheckConstraint`. I had intended to modify the `check` argument after pasting, but I made a mistake. In this specific instance, the mistake was caught and fixed during a routine code review, but it made me think this is something that could be warned against by Django so it is caught early.

While a duplicate check constraint is legal SQL, it normally points to an error on the part of the developer. We can issue a `Warning` in such a case.
"	New feature	closed	Core (System checks)	dev	Normal	wontfix			Accepted	1	0	0	0	0	0
