Project

General

Profile

1
--
2
-- PostgreSQL database dump
3
--
4

    
5
DROP SCHEMA  IF EXISTS stats_history CASCADE;
6
CREATE SCHEMA stats_history;
7
ALTER SCHEMA stats_history OWNER TO sqoop;
8

    
9
--
10
-- Name: query; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
11
--
12

    
13
CREATE TABLE stats_history.query (
14
    query text,
15
    description text,
16
    query_id text
17
);
18

    
19
alter table stats_history.query owner to sqoop;
20
--
21
-- Name: value; Type: TABLE; Schema: public; Owner: postgres; Tablespace:
22
--
23

    
24
CREATE TABLE stats_history.value (
25
    num text,
26
    date text,
27
    query_id text
28
);
29

    
30
alter table stats_history.value owner to sqoop;
31

    
32

    
33
--
34
-- Name: public; Type: ACL; Schema: -; Owner: postgres
35
--
36

    
37
--REVOKE ALL ON SCHEMA stats_history FROM PUBLIC;
38
--REVOKE ALL ON SCHEMA stats_history FROM sqoop;
39
--GRANT ALL ON SCHEMA stats_history TO sqoop;
40
--GRANT ALL ON SCHEMA stats_history TO PUBLIC;
41

    
42

    
43
--
44
-- PostgreSQL database dump complete
45
--
46

    
47

    
(3-3/5)