 ALTER TABLE ONLY externalidentifier
     ADD CONSTRAINT externalidentifier_pkey PRIMARY KEY (id);
 
-
---
--- TOC entry 1921 (class 2606 OID 78642)
--- Dependencies: 1575 1575
--- Name: externallink_pkey; Type: CONSTRAINT; Schema: public; Owner: omar; Tablespace: 
---
-
-ALTER TABLE ONLY externallink
-    ADD CONSTRAINT externallink_pkey PRIMARY KEY (id);
-
-
 --
 -- TOC entry 1924 (class 2606 OID 78644)
 -- Dependencies: 1576 1576

--

CREATE INDEX value_eid_idx ON externalidentifier USING btree (value);


--
-- TOC entry 1971 (class 1259 OID 78789)
-- Dependencies: 1598
-- Name: value_usgdes_idx; Type: INDEX; Schema: public; Owner: omar; Tablespace: 
--

CREATE INDEX value_usgdes_idx ON usagedescription USING btree (value);

-- View: registryobject

-- DROP VIEW registryobject;

--CREATE OR REPLACE VIEW registryobject AS 
--(SELECT extrinsicobject.id, extrinsicobject.objecttype
--   FROM extrinsicobject)
--UNION 
-- SELECT registrypackage.id, registrypackage.objecttype
--   FROM registrypackage;

--ALTER TABLE public.registryobject OWNER TO omar;

--
-- TOC entry 1976 (class 0 OID 0)

ALTER TABLE ONLY name_
    ADD CONSTRAINT name__pkey PRIMARY KEY (parent);

--
-- TOC entry 1938 (class 2606 OID 78666)
-- Dependencies: 1582 1582
