root/sql/tables/noit.check_status_changelog.sql

Revision 378ef447b1015a081fe182f16097392fa036a9ce, 1.4 kB (checked in by Robert Treat <robert@omniti.com>, 5 years ago)

check status tables

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