 
 
 --
+-- Name: api_requests; Type: TABLE; Schema: public; Owner: -; Tablespace: 
+--
+
+CREATE TABLE api_requests (
+    id integer NOT NULL,
+    user_id integer,
+    controller character varying(255),
+    action character varying(255),
+    format character varying(255),
+    params text,
+    ip character varying(255),
+    response_status integer,
+    error_message text,
+    created_at timestamp without time zone NOT NULL,
+    updated_at timestamp without time zone NOT NULL
+);
+
+
+--
+-- Name: api_requests_id_seq; Type: SEQUENCE; Schema: public; Owner: -
+--
+
+CREATE SEQUENCE api_requests_id_seq
+    START WITH 1
+    INCREMENT BY 1
+    NO MINVALUE
+    NO MAXVALUE
+    CACHE 1;
+
+
+--
+-- Name: api_requests_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
+--
+
+ALTER SEQUENCE api_requests_id_seq OWNED BY api_requests.id;
+
+
+--
 -- Name: api_taxon_concepts_view; Type: TABLE; Schema: public; Owner: -; Tablespace: 
 --
 


INSERT INTO schema_migrations (version) VALUES ('20150107171940');

INSERT INTO schema_migrations (version) VALUES ('20150109134326');

INSERT INTO schema_migrations (version) VALUES ('20150112080319');


ALTER TABLE ONLY annotations
    ADD CONSTRAINT annotations_pkey PRIMARY KEY (id);


--
-- Name: api_requests_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
--

ALTER TABLE ONLY api_requests
    ADD CONSTRAINT api_requests_pkey PRIMARY KEY (id);


--
