US-GHG-Center / ghgc-backend

Backend services for Green House Gas Center
Other
0 stars 1 forks source link

BugFix: Collection ID can't be null in the database #38

Open slesaad opened 10 months ago

slesaad commented 10 months ago

Description

Right now, the collection id field in the database isn't set to not allow null.

image

We realised this when we accidentally ingested items into the database when the collection didn't exist, and it broke the whole stac api.

We should set the field as not null to avoid this in the future.

Acceptance Criteria