avniproject / avni-server

Backend APIs for Avni
https://avniproject.org
GNU Affero General Public License v3.0
7 stars 25 forks source link

Do not allow null in observations columns #693

Open petmongrels opened 7 months ago

petmongrels commented 7 months ago

Having null values requires us to check for null instead of using ObservationCollection object. We should keep the values as {} and make it default value. Not making it default may cause the server to break, if null.

Analysis:

mahalakshme commented 7 months ago

@petmongrels this was identified as part of the ticket you worked on yesterday?

the entry that dealt here looks like was created by the IHMP data loss issue(1st time issue)