### Changelog
All notable changes to this project will be documented in this file.

[2.1.0] 2021-09-26
- Restructuring geospatial precision system: dataset.precision -> sample.precision

[2.0.6] 2021-07-12
- New Tables: regions, sample2regions

[2.0.5] 2021-06-05
- Gear: Added new categories: census, remote sensing

[2.0.4] 2021-04-29
- Dataset: Removed field: quality_checked (redundant to gold)

[2.0.3] 2021-03-28
***********************
* THIS VERSION IS NOT
* COMPATIBLE WITH OLDER
* VERSIONS
***********************
- Biota: Added Image (because of LOKI and PlanktonNet)

[2.0.2] 2021-04-24
***********************
* THIS VERSION IS NOT
* COMPATIBLE WITH OLDER
* VERSIONS
***********************
- BioDjinn: Expanded Szenario 1 into two parts 1a and 1b

[2.0.1] 2021-03-16
***********************
* THIS VERSION IS NOT
* COMPATIBLE WITH OLDER
* VERSIONS
***********************
- Gear: New category introduced: dive

[2.0.0] 2021-03-09
***********************
* THIS VERSION IS NOT
* COMPATIBLE WITH OLDER
* VERSIONS
***********************
- SubSample: New entity introduced

[1.8.9] 2020-02-09
***********************
* THIS VERSION IS NOT
* COMPATIBLE WITH OLDER
* VERSIONS
***********************
- BioDjinn: Fixes in Case 0c: All except Trawl
- Field SampledArea: New Comment: Actually sampled area
- Field ReferenceArea: New Comment: Fictional/defined area

[1.8.8] 2020-12-16
***********************
* THIS VERSION IS NOT
* COMPATIBLE WITH OLDER
* VERSIONS
***********************
- Table: admin
Updated field contraint uniq: value

[1.8.7] 2020-12-10
***********************
* THIS VERSION IS NOT
* COMPATIBLE WITH OLDER
* VERSIONS
***********************
- Table: wormsbase
New field: gold

[1.8.6] 2020-11-18
***********************
* THIS VERSION IS NOT
* COMPATIBLE WITH OLDER
* VERSIONS
***********************
- Table: Sample
New fields: sample.sampled_vol, reference_vol
- BioDjinn (logic)
Integrated Sample Volumes
- Table: Gear
New field: standard unit

[1.8.5] 2020-11-18
- Comments: Updated comments
- Edited some Nullable Attributes

[1.8.4] 2020-11-10
- Comments: Updated comments
- Gear: Added categories: Rocks, Scrapes

[1.8.3] 2020-11-09
- Comments: Updated all lookup relevant comments

[1.8.2] 2020-10-26
- Gear: Type scrape added
- Ingest: Added Workflow: BEAST

[1.8.1] 2020-10-08
- Comments: Updated comments

[1.8.0] 2020-10-02
***********************
* THIS VERSION IS NOT
* COMPATIBLE WITH OLDER
* VERSIONS
***********************
- Table: Biota
Attribute sieve is now no lookup any more
- Sediment
All attributes of SieveAnalysis are moved here
- Station/Sample
Attribute status has been removed -> information are coverd in subset.tax_cover
- Removed tables: SieveAnalysis, Sieve

[1.8.9] 2020-01-30
***********************
* THIS VERSION IS NOT
* COMPATIBLE WITH OLDER
* VERSIONS
***********************
- Table: Biota
Attribute sieve is now no lookup any more
- Sediment
All attributes of SieveAnalysis are moved here
- Station/Sample
Attribute status has been removed -> information are coverd in subset.tax_cover
- Removed tables: SieveAnalysis, Sieve

[1.7.3] 2020-07-01
***********************
* THIS VERSION IS NOT
* COMPATIBLE WITH OLDER
* VERSIONS
***********************
- Added field sediment.type

[1.7.2] 2020-02-21
***********************
* THIS VERSION IS NOT
* COMPATIBLE WITH OLDER
* VERSIONS
***********************
- Added gold entry in all lookup tables
- Altered attribute person.vor_und_nachname to person.full_name
- Deleted station.status_id

[1.7.1] 2020-02-11
- Added roles for the webservice: critterboss, geoserver (ignore errors on local installation)

[1.7.0] 2019-12-12
***********************
* THIS VERSION IS NOT
* COMPATIBLE WITH OLDER
* VERSIONS
***********************
- New comment: sample.replicate_number - number of replicates per sample (not station)
- Added BiotaDjinn - Tests for biota and area data

[1.6.2] 2019-09-30
- Added Warning if biota is attached to a sample with multiple area definition

[1.6.1] 2019-08-15
- Added Quality Checked field to dataset

[1.6.0] 2019-08-06
***********************
* THIS VERSION IS NOT
* COMPATIBLE WITH OLDER
* VERSIONS
***********************
- This datamodel is not compatible with older version
* added tables used in taxon system:
- wormsbase: base list defining all needed taxa from WoRMS
- wormsprivate: Expert Knowledge: containing data to map private scientificnames to WoRMS-records
- wormscolony: Expert Knowledge: List of taxa tagged as colony
- wormsaaid: Expert Knowledge: Overide Accepted Aphia Ids with other Aphia Ids
- wormschange: Expert Knowledge: Change grouping of taxa in order to publications
* Bugs
- fixed some bugs in Pangea-comments
* added: triggers, trigger-functions and function to check area coresponding to used gear type
- gear=trawl: area is checked to be set via:
a) sample.lat/lon_start and gear.wdth
b) sample.sampled_distance and gear.wdth
c) sample.area
- gear=trawl: area is checked to be set via:
a) sample.area b) gear.area
- Multiple settings result in warnings
- If a population is attached to a sample where area is not computable an error is emitted,
except the population is flagged to be presence/absence only data.
* Added new presence absence flag in population
- A population flagged to be presence/absence only data can contain quantitative date (values >= 0), to conservate
the data, even if no corresponding area is availabel. But a warning is ommited then.
* Updated all comments
- all comments are now stores in json format with these: keys name, unit, comment, pangaea(id)
* Added new access-level system: free/request/confidential
* Updated ingest metadata table
* Added special PANGEA-IDs for the following measurements
- Campaign 134113
- Station	102005
- Sample 16065
- Project	132665
- StartDepth 1619
- EndDepth 1619
- Gear 55539
- Lat 1600
- Lon 1601
- StartTime 152460
- EndTime	150986
- Date 152481
- Trawl distance 46450
- Gear width 50144
- Gear length 45226
- Gear height	92744
- MeshSize 74895
- SampledArea	55219

[1.5.1-3] 2019-02-12
- added more gear categories: trap, sensor
- added table country
- added country support in table dataset
- added admin table to store generic key-value information on the model (e.g. version)
- fixed a bug of the numeric data type: population.number
- added length to table gear

[1.5.1 fiona extended] 2017-05-09
- added experimental support for North Sea data

[1.5.0 fiona] 2017-08-1
- modified table taxon

[1.4.0 edna] 2017-07-20
- modified gear constraints for: grab, trawl, video

[1.3.0 diana] 2017-06-10
- added dataset support

[1.2.0 carla] 2017-05-05
- added ingest information

[1.1.0 brenda] 2017-04-01
- intial version

*** WORK IN PROGRESS - NOT RELEASED YET
[1.6.0]
* CAUTION: BACKWARDS COMPATABILITY WILL BE BROKEN
- This datamodel is not compatible with older version
* Implementing Subset-System
- ...




