diff --git a/sql/initial_schema.sql b/sql/initial_schema.sql index d68f91ee..35e5221f 100644 --- a/sql/initial_schema.sql +++ b/sql/initial_schema.sql @@ -523,7 +523,7 @@ CREATE TABLE IF NOT EXISTS public.recipes ( updated_at TIMESTAMPTZ DEFAULT now() NOT NULL, CONSTRAINT recipes_name_check CHECK (TRIM(name) <> '') ); - -- CONSTRAINT recipes_photo_url_check CHECK (photo_url IS NULL OR photo_url ~* '^https://?.*') +-- CONSTRAINT recipes_photo_url_check CHECK (photo_url IS NULL OR photo_url ~* '^https://?.*') COMMENT ON TABLE public.recipes IS 'Stores recipes that can be used to generate shopping lists.'; COMMENT ON COLUMN public.recipes.servings IS 'The number of servings this recipe yields.'; COMMENT ON COLUMN public.recipes.original_recipe_id IS 'If this recipe is a variation of another, this points to the original.';