-- Author: Hayden Hargreaves (hhargreaves2006@gmail.com)
-- Desc:   Update recipes table to allow larger serving sizes.
-- Date:   01/13/2026

BEGIN;

ALTER TABLE recipes
  DROP CONSTRAINT recipes_serves_check;

ALTER TABLE recipes
  ADD CONSTRAINT recipes_serves_check
  CHECK (serves >= 0 AND serves <= 127);

COMMIT;
