Skip to content

Commit

Permalink
Get special_product_platforms back into schema.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
selenamarie committed Oct 30, 2012
1 parent 8be035b commit 6234465
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions sql/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7819,6 +7819,22 @@ CREATE TABLE socorro_db_version_history (

ALTER TABLE public.socorro_db_version_history OWNER TO postgres;

--
-- Name: special_product_platforms; Type: TABLE; Schema: public; Owner: breakpad_rw; Tablespace:
--

CREATE TABLE special_product_platforms (
platform citext NOT NULL,
repository citext NOT NULL,
release_channel citext NOT NULL,
release_name citext NOT NULL,
product_name citext NOT NULL,
min_version major_version NOT NULL
);


ALTER TABLE public.special_product_platforms OWNER TO breakpad_rw;

--
-- Name: tcbs_build; Type: TABLE; Schema: public; Owner: breakpad_rw; Tablespace:
--
Expand Down Expand Up @@ -8610,6 +8626,14 @@ ALTER TABLE ONLY socorro_db_version
ADD CONSTRAINT socorro_db_version_pkey PRIMARY KEY (current_version);


--
-- Name: special_product_platforms_key; Type: CONSTRAINT; Schema: public; Owner: breakpad_rw; Tablespace:
--

ALTER TABLE ONLY special_product_platforms
ADD CONSTRAINT special_product_platforms_key PRIMARY KEY (release_name, platform, repository, release_channel);


--
-- Name: tcbs_build_key; Type: CONSTRAINT; Schema: public; Owner: breakpad_rw; Tablespace:
--
Expand Down Expand Up @@ -10620,6 +10644,19 @@ GRANT SELECT ON TABLE socorro_db_version_history TO breakpad;
GRANT ALL ON TABLE socorro_db_version_history TO monitor;


--
-- Name: special_product_platforms; Type: ACL; Schema: public; Owner: breakpad_rw
--

REVOKE ALL ON TABLE special_product_platforms FROM PUBLIC;
REVOKE ALL ON TABLE special_product_platforms FROM breakpad_rw;
GRANT ALL ON TABLE special_product_platforms TO breakpad_rw;
GRANT SELECT ON TABLE special_product_platforms TO breakpad_ro;
GRANT SELECT ON TABLE special_product_platforms TO breakpad;
GRANT ALL ON TABLE special_product_platforms TO monitor;
GRANT SELECT ON TABLE special_product_platforms TO analyst;


--
-- Name: tcbs_build; Type: ACL; Schema: public; Owner: breakpad_rw
--
Expand Down

0 comments on commit 6234465

Please sign in to comment.