text: --
  -- PostgreSQL database dump
  --
  
  SET statement_timeout = 0;
  SET lock_timeout = 0;
  SET client_encoding = 'UTF8';
  SET standard_conforming_strings = on;
  SET check_function_bodies = false;
  SET client_min_messages = warning;
  
  --
  -- Name: plpgsql; Type: EXTENSION; Schema: -; Owner: 
  --
  
  CREATE EXTENSION IF NOT EXISTS plpgsql WITH SCHEMA pg_catalog;
  
  
  --
  -- Name: EXTENSION plpgsql; Type: COMMENT; Schema: -; Owner: 
  --
  
  COMMENT ON EXTENSION plpgsql IS 'PL/pgSQL procedural language';
  
  
  SET search_path = public, pg_catalog;
  
  SET default_tablespace = '';
  
  SET default_with_oids = false;
  
  --
  -- Name: cuisine; Type: TABLE; Schema: public; Owner: Guest; Tablespace: 
  --
  
  CREATE TABLE cuisine (
      cuisine_id integer NOT NULL,
      type character varying
  );
  
  
  ALTER TABLE cuisine OWNER TO "Guest";
  
  --
  -- Name: cuisine_id_seq; Type: SEQUENCE; Schema: public; Owner: Guest
  --
  
  CREATE SEQUENCE cuisine_id_seq
      START WITH 1
      INCREMENT BY 1
      NO MINVALUE
      NO MAXVALUE
      CACHE 1;
  
  
  ALTER TABLE cuisine_id_seq OWNER TO "Guest";
  
  --
  -- Name: cuisine_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: Guest
  --
  
  ALTER SEQUENCE cuisine_id_seq OWNED BY cuisine.cuisine_id;
  
  
  --
  -- Name: restaurants; Type: TABLE; Schema: public; Owner: Guest; Tablespace: 
  --
  
  CREATE TABLE restaurants (
      id integer NOT NULL,
      name character varying,
      cuisine_id integer
  );
  
  
  ALTER TABLE restaurants OWNER TO "Guest";
  
  --
  -- Name: restaurants_id_seq; Type: SEQUENCE; Schema: public; Owner: Guest
  --
  
  CREATE SEQUENCE restaurants_id_seq
      START WITH 1
      INCREMENT BY 1
      NO MINVALUE
      NO MAXVALUE
      CACHE 1;
  
  
  ALTER TABLE restaurants_id_seq OWNER TO "Guest";
  
  --
  -- Name: restaurants_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: Guest
  --
  
  ALTER SEQUENCE restaurants_id_seq OWNED BY restaurants.id;
  
  
  --
  -- Name: cuisine_id; Type: DEFAULT; Schema: public; Owner: Guest
  --
  
  ALTER TABLE ONLY cuisine ALTER COLUMN cuisine_id SET DEFAULT nextval('cuisine_id_seq'::regclass);
  
  
  --
  -- Name: id; Type: DEFAULT; Schema: public; Owner: Guest
  --
  
  ALTER TABLE ONLY restaurants ALTER COLUMN id SET DEFAULT nextval('restaurants_id_seq'::regclass);
  
  
  --
  -- Data for Name: cuisine; Type: TABLE DATA; Schema: public; Owner: Guest
  --
  
  COPY cuisine (cuisine_id, type) FROM stdin;
  1	American
  2	Southern
  3	Mexican
  7	Italian
  9	Greek
  10	Mexican2
  11	Mexican3
  12	mexican4
  13	italian
  \.
  
  
  --
  -- Name: cuisine_id_seq; Type: SEQUENCE SET; Schema: public; Owner: Guest
  --
  
  SELECT pg_catalog.setval('cuisine_id_seq', 13, true);
  
  
  --
  -- Data for Name: restaurants; Type: TABLE DATA; Schema: public; Owner: Guest
  --
  
  COPY restaurants (id, name, cuisine_id) FROM stdin;
  2	Lardo	\N
  4	Fred	1
  3	E-San	1
  17	Taco Bell	10
  18	Pastini	11
  \.
  
  
  --
  -- Name: restaurants_id_seq; Type: SEQUENCE SET; Schema: public; Owner: Guest
  --
  
  SELECT pg_catalog.setval('restaurants_id_seq', 20, true);
  
  
  --
  -- Name: cuisine_pkey; Type: CONSTRAINT; Schema: public; Owner: Guest; Tablespace: 
  --
  
  ALTER TABLE ONLY cuisine
      ADD CONSTRAINT cuisine_pkey PRIMARY KEY (cuisine_id);
  
  
  --
  -- Name: restaurants_pkey; Type: CONSTRAINT; Schema: public; Owner: Guest; Tablespace: 
  --
  
  ALTER TABLE ONLY restaurants
      ADD CONSTRAINT restaurants_pkey PRIMARY KEY (id);
  
  
  --
  -- Name: public; Type: ACL; Schema: -; Owner: epicodus
  --
  
  REVOKE ALL ON SCHEMA public FROM PUBLIC;
  REVOKE ALL ON SCHEMA public FROM epicodus;
  GRANT ALL ON SCHEMA public TO epicodus;
  GRANT ALL ON SCHEMA public TO PUBLIC;
  
  
  --
  -- PostgreSQL database dump complete
  --
  
  