Project

General

Profile

1
-- Prevent "column name specified more than once" errors when tables are joined
2
ALTER TABLE "soilObs" RENAME "dba_src_ID" TO "soilObs_dba_src_ID";
3
ALTER TABLE "taxonObservation" RENAME "reference_ID" TO "taxonObservation_reference_ID";
4
ALTER TABLE "taxonObservation" RENAME "accessionCode" TO "taxonObservation_accessionCode";
5
ALTER TABLE "taxonObservation" RENAME "dba_src_ID" TO "taxonObservation_dba_src_ID";
6
ALTER TABLE "taxonObservation" RENAME "entry_sppID" TO "taxonObservation_entry_sppID";
7
ALTER TABLE "taxonInterpretation" RENAME "PARTY_ID" TO "taxonInterpretation_PARTY_ID";
8
ALTER TABLE "taxonInterpretation" RENAME "PLANTNAME_ID" TO "taxonInterpretation_PLANTNAME_ID";
9
ALTER TABLE "taxonInterpretation" RENAME "dba_src_ID" TO "taxonInterpretation_dba_src_ID";
10
ALTER TABLE "taxonInterpretation" RENAME "accessionCode" TO "taxonInterpretation_accessionCode";
11
ALTER TABLE "plantConcept" RENAME "reference_ID" TO "plantConcept_reference_ID";
12
ALTER TABLE "plantConcept" RENAME "accessionCode" TO "plantConcept_accessionCode";
13
ALTER TABLE "plantConcept" RENAME "dba_src_ID" TO "plantConcept_dba_src_ID";
14
ALTER TABLE "plantConcept" RENAME "entry_sppID" TO "plantConcept_entry_sppID";
(2-2/6)