Datatype is set to JSONB, but should it be an array of objects instead?
Or is JSONB of format {array: [...]} better?
Either way, the Zod Schema needs to be updated, as it is currently of format { name: '', url: '', caption?: ''} thus only taking into account a single media in the blog.
Datatype is set to JSONB, but should it be an array of objects instead?
Or is JSONB of format {array: [...]} better?
Either way, the Zod Schema needs to be updated, as it is currently of format { name: '', url: '', caption?: ''} thus only taking into account a single media in the blog.
Directly related to #16