Project

General

Profile

« Previous | Next » 

Revision 6130

schemas/vegbien.sql: Removed no longer used table referenceparty

View differences:

vegbien.my.sql
2642 2642

  
2643 2643

  
2644 2644
--
2645
-- Name: referenceparty; Type: TABLE; Schema: public; Owner: -; Tablespace: 
2646
--
2647

  
2648
CREATE TABLE referenceparty (
2649
    referenceparty_id int(11) NOT NULL,
2650
    type text,
2651
    positionname text,
2652
    salutation text,
2653
    givenname text,
2654
    surname text,
2655
    suffix text,
2656
    organizationname text,
2657
    currentparty_id int(11),
2658
    accessioncode text
2659
);
2660

  
2661

  
2662
--
2663
-- Name: referenceparty_referenceparty_id_seq; Type: SEQUENCE; Schema: public; Owner: -
2664
--
2665

  
2666

  
2667

  
2668

  
2669
--
2670
-- Name: referenceparty_referenceparty_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
2671
--
2672

  
2673

  
2674

  
2675

  
2676
--
2677
-- Name: referenceparty_referenceparty_id_seq; Type: SEQUENCE SET; Schema: public; Owner: -
2678
--
2679

  
2680

  
2681

  
2682
--
2683 2645
-- Name: revision; Type: TABLE; Schema: public; Owner: -; Tablespace: 
2684 2646
--
2685 2647

  
......
3656 3618

  
3657 3619

  
3658 3620
--
3659
-- Name: referenceparty_id; Type: DEFAULT; Schema: public; Owner: -
3660
--
3661

  
3662

  
3663

  
3664

  
3665
--
3666 3621
-- Name: revision_id; Type: DEFAULT; Schema: public; Owner: -
3667 3622
--
3668 3623

  
......
4078 4033

  
4079 4034

  
4080 4035
--
4081
-- Data for Name: referenceparty; Type: TABLE DATA; Schema: public; Owner: -
4082
--
4083

  
4084

  
4085

  
4086
--
4087 4036
-- Data for Name: revision; Type: TABLE DATA; Schema: public; Owner: -
4088 4037
--
4089 4038

  
......
4608 4557

  
4609 4558

  
4610 4559
--
4611
-- Name: referenceparty_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
4612
--
4613

  
4614
ALTER TABLE referenceparty
4615
    ADD CONSTRAINT referenceparty_pkey PRIMARY KEY (referenceparty_id);
4616

  
4617

  
4618
--
4619 4560
-- Name: revision_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
4620 4561
--
4621 4562

  
......
5126 5067

  
5127 5068

  
5128 5069
--
5129
-- Name: referenceparty_accessioncode_index; Type: INDEX; Schema: public; Owner: -; Tablespace: 
5130
--
5131

  
5132
CREATE UNIQUE INDEX referenceparty_accessioncode_index ON referenceparty  (accessioncode);
5133

  
5134

  
5135
--
5136 5070
-- Name: soiltaxon_accessioncode_index; Type: INDEX; Schema: public; Owner: -; Tablespace: 
5137 5071
--
5138 5072

  
......
6027 5961

  
6028 5962

  
6029 5963
--
6030
-- Name: referenceparty_currentparty_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
6031
--
6032

  
6033
ALTER TABLE referenceparty
6034
    ADD CONSTRAINT referenceparty_currentparty_id_fkey FOREIGN KEY (currentparty_id) REFERENCES referenceparty(referenceparty_id) ON UPDATE CASCADE ON DELETE CASCADE;
6035

  
6036

  
6037
--
6038 5964
-- Name: revision_previousrevision_id_fkey; Type: FK CONSTRAINT; Schema: public; Owner: -
6039 5965
--
6040 5966

  

Also available in: Unified diff