Project

General

Profile

« Previous | Next » 

Revision 6302

schemas/vegbien.sql: source: Added matched_source_id

View differences:

vegbien.sql
1888 1888

  
1889 1889
CREATE TABLE source (
1890 1890
    source_id integer NOT NULL,
1891
    matched_source_id integer,
1891 1892
    parent_id integer,
1892 1893
    shortname text,
1893 1894
    fulltext text,
......
7015 7016

  
7016 7017

  
7017 7018
--
7019
-- Name: source_matched_source_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
7020
--
7021

  
7022
ALTER TABLE ONLY source
7023
    ADD CONSTRAINT source_matched_source_id_fkey FOREIGN KEY (matched_source_id) REFERENCES source(source_id) ON UPDATE CASCADE ON DELETE CASCADE;
7024

  
7025

  
7026
--
7018 7027
-- Name: source_parent_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
7019 7028
--
7020 7029

  

Also available in: Unified diff