Project

General

Profile

« Previous | Next » 

Revision 11159

inputs/VegBank/vegbank.~.clean_up.sql: commclass.commcode,commname: rename to prevent collisions

View differences:

inputs/VegBank/vegbank.~.clean_up.sql
431 431
-- This corresponds to location/public/full embargos (http://vegbank.org/vegbank/views/dba_tabledescription_detail.jsp?view=detail&wparam=plot&entity=dba_tabledescription&where=where_tablename#confidentialityStatus)
432 432

  
433 433
-- Prevent "column name specified more than once" errors when tables are joined
434
ALTER TABLE commclass RENAME commcode  TO commclass__commcode;
435
ALTER TABLE commclass RENAME commname  TO commclass__commname;
434 436
ALTER TABLE commconcept RENAME commname  TO commconcept__commname;
435 437
ALTER TABLE taxonobservation RENAME reference_id  TO taxonobservation_reference_id;
436 438
ALTER TABLE taxonobservation RENAME accessioncode  TO taxonobservation_accessioncode;

Also available in: Unified diff