charliegriefer / my-whiskies

MIT License
2 stars 0 forks source link

Cannot add an image to an existing bottle if there were no images on that bottle. #45

Closed charliegriefer closed 1 year ago

charliegriefer commented 1 year ago

Note: This is only a thing on production, it seems.

Tried adding a pic to Dragon's Milk (https://my-whiskies.online/bottle_edit/b55eb9b7-5b37-46de-a583-976d898bd1cc)

charliegriefer commented 1 year ago

This is fixed. Had to update the database to set bottle records with null image_count values to 0 (which is currently the default value)