biojs / biojs-backend

Backend repository for biojs.net website.
MIT License
1 stars 3 forks source link

Made modified time nullable #5

Closed Megh-Thakkar closed 6 years ago

rowlandm commented 6 years ago

Would be good to have a very short reason why?

Megh-Thakkar commented 6 years ago

The code to parse time from the NPM api for the components was added at a later stage, as I had to go through the format in which registry.npm was sending the data. So, since SQL would not allow me to keep the field empty, I had to allow NULL values in it.

rowlandm commented 6 years ago

Excellent. Thanks Megh.