Each supporter only makes each type of request 1x.

This commit is contained in:
Bradley M. Kuhn 2015-12-20 14:07:57 -08:00
parent ccfa057cce
commit b62283dc74

View file

@ -21,6 +21,9 @@ CREATE TABLE "request" (
"notes" TEXT
);
CREATE UNIQUE INDEX request__one_request_for_each_type_per_supporter
ON request(supporter_id, request_type_id);
DROP TABLE IF EXISTS "request_configuration";
CREATE TABLE "request_configuration" (