root/sql/tables/noit.metric_text_currently.sql

Revision 88d5aaab122fefd6471e1d4604f54cd1a6df433b, 1.3 kB (checked in by Robert Treat <robert@omniti.com>, 5 years ago)

text metric tables

  • Property mode set to 100644
Line 
1 --formerly current_metric_text
2 --
3 -- PostgreSQL database dump
4 --
5
6 SET client_encoding = 'UTF8';
7 SET standard_conforming_strings = off;
8 SET check_function_bodies = false;
9 SET client_min_messages = warning;
10 SET escape_string_warning = off;
11
12 SET search_path = noit, pg_catalog;
13
14 SET default_tablespace = '';
15
16 SET default_with_oids = false;
17
18 --
19 -- Name: metric_text_currently; Type: TABLE; Schema: noit; Owner: reconnoiter; Tablespace:
20 --
21
22 CREATE TABLE metric_text_currently (
23     sid integer NOT NULL,
24     whence timestamp with time zone NOT NULL,
25     name text NOT NULL,
26     value text
27 );
28
29
30 ALTER TABLE noit.metric_text_currently OWNER TO reconnoiter;
31
32 --
33 -- Name: metric_text_currently_pkey; Type: CONSTRAINT; Schema: noit; Owner: reconnoiter; Tablespace:
34 --
35
36 ALTER TABLE ONLY metric_text_currently
37     ADD CONSTRAINT metric_text_currently_pkey PRIMARY KEY (sid, name);
38
39
40 --
41 -- Name: metric_text_currently; Type: ACL; Schema: noit; Owner: reconnoiter
42 --
43
44 REVOKE ALL ON TABLE metric_text_currently FROM PUBLIC;
45 REVOKE ALL ON TABLE metric_text_currently FROM reconnoiter;
46 GRANT ALL ON TABLE metric_text_currently TO reconnoiter;
47 GRANT SELECT ON TABLE metric_text_currently TO prism;
48 GRANT SELECT,INSERT,DELETE,UPDATE ON TABLE metric_text_currently TO stratcon;
49
50
51 --
52 -- PostgreSQL database dump complete
53 --
54
Note: See TracBrowser for help on using the browser.