QutEcoacoustics / baw-server

The acoustic workbench server for storing and managing ecoacoustic data. Manages the structure and audio data. Provides an API for clients access.
Apache License 2.0
9 stars 4 forks source link

Add special case for sites with the same name for default harvest folder creation #586

Closed atruskie closed 2 years ago

atruskie commented 2 years ago

Change https://github.com/QutEcoacoustics/baw-server/blob/d66c360ba881666646cd785e0bf0d7b94fd1dcdb/app/models/harvest.rb#L293-L311

atruskie commented 2 years ago

Consider: adding uniqueness constraint to site names per project

atruskie commented 2 years ago

Site name uniqueness was not a good fit: where there are sites that belong to a region, those sites are often replicates in an area and have repeating names - as with the A2O data.