Project

General

Profile

« Previous | Next » 

Revision 1315

vegbien.sql: namedplace: Added rank. Do duplicate elimination using rank and parent_id instead of placesystem

View differences:

vegbien.my.sql
1143 1143
    placedescription text,
1144 1144
    placecode text,
1145 1145
    accessioncode text,
1146
    parent_id int(11)
1146
    parent_id int(11),
1147
    rank text
1147 1148
);
1148 1149

  
1149 1150

  
......
3191 3192

  
3192 3193

  
3193 3194
--
3194
-- Name: namedplace_unique; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
3195
--
3196

  
3197
ALTER TABLE namedplace
3198
    ADD CONSTRAINT namedplace_unique UNIQUE (placesystem, placename);
3199

  
3200

  
3201
--
3202 3195
-- Name: namedplacecorrelation_pkey; Type: CONSTRAINT; Schema: public; Owner: -; Tablespace: 
3203 3196
--
3204 3197

  
......
4192 4185

  
4193 4186

  
4194 4187
--
4188
-- Name: namedplace_unique; Type: INDEX; Schema: public; Owner: -; Tablespace: 
4189
--
4190

  
4191

  
4192

  
4193

  
4194
--
4195 4195
-- Name: note_accessioncode_index; Type: INDEX; Schema: public; Owner: -; Tablespace: 
4196 4196
--
4197 4197

  

Also available in: Unified diff