-- +goose Up

-- Expand the meal_type check to cover all six meal types used by the client.
ALTER TABLE menu_items DROP CONSTRAINT menu_items_meal_type_check;
ALTER TABLE menu_items ADD CONSTRAINT menu_items_meal_type_check
    CHECK (meal_type IN ('breakfast','second_breakfast','lunch','afternoon_snack','dinner','snack'));

-- +goose Down

ALTER TABLE menu_items DROP CONSTRAINT menu_items_meal_type_check;
ALTER TABLE menu_items ADD CONSTRAINT menu_items_meal_type_check
    CHECK (meal_type IN ('breakfast','lunch','dinner'));
