Each supporter only makes each type of request 1x.
This commit is contained in:
		
							parent
							
								
									ccfa057cce
								
							
						
					
					
						commit
						b62283dc74
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -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" ( | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Bradley M. Kuhn
						Bradley M. Kuhn