 
 
 --
+-- Name: fki_project_model__model_id; Type: INDEX; Schema: public; Owner: steam
+--
+
+CREATE INDEX fki_project_model__model_id ON project_model USING btree (model_id);
+
+
+--
 -- Name: fki_role_permission__permission_id; Type: INDEX; Schema: public; Owner: steam
 --
 

--

CREATE TABLE model (
    id integer NOT NULL
);


ALTER TABLE model OWNER TO steam;

--
-- Name: model_id_seq; Type: SEQUENCE; Schema: public; Owner: steam



--
-- Name: pk_project; Type: CONSTRAINT; Schema: public; Owner: steam
--

ALTER TABLE ONLY project
    ADD CONSTRAINT pk_project PRIMARY KEY (id);


--
-- Name: pk_project_model; Type: CONSTRAINT; Schema: public; Owner: steam
--

ALTER TABLE ONLY project_model
    ADD CONSTRAINT pk_project_model PRIMARY KEY (project_id, model_id);


--
-- Name: pk_role; Type: CONSTRAINT; Schema: public; Owner: steam
--

