From 09e2b04a7b469daa4b8b6fd89b88ae800d612fd6 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Sat, 22 Nov 2025 18:08:48 +0100 Subject: Make fertilizer product brand name obligatory. --- db/migrations.rkt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'db/migrations.rkt') diff --git a/db/migrations.rkt b/db/migrations.rkt index 4007db4..0147210 100644 --- a/db/migrations.rkt +++ b/db/migrations.rkt @@ -154,9 +154,9 @@ (list (create-table #:if-not-exists fertilizer_products #:columns [id integer #:not-null] [canonical_name text #:not-null] - [brand_name text] + [brand_name text #:not-null] #:constraints (primary-key id) - (unique canonical_name)))) + (unique canonical_name brand_name)))) (module+ test (connect!) -- cgit v1.2.3