--- If a database named 'recipe_box' exists, then drop it.
--- If a user exists named 'recipe_box_app', then drop it.

DROP DATABASE IF EXISTS recipe_box;
DROP USER IF EXISTS recipe_box_app;


-- SOLUTION END

-- You will need to create a new database for the application named
-- 'recipe_box'. It should be owned by 'recipe_box_app'. You may want to revoke
-- connect privileges from PUBLIC just to have good security.

-- SOLUTION BEGIN
CREATE DATABASE recipe_box WITH OWNER recipe_box_app;
-- SOLUTION END
