I wouldn't hardcode any specific business logic. I would just have a map<key as string, value as object> in each event so that the dev can add/remove whatever they want to store together with the event. The db just stores this map in the same way it stores the event fields.
Login to reply
Replies (1)
our metadata table achieves this now! you can add metadata of any type to nostrdb that is tied to a note id. currently powers our like/quote/reply counts