Do want to enable notification meta data? #98
Replies: 3 comments 2 replies
-
I'm not an expert and sincerely, I wouldn't know exactly how to store these notifications in the database either, but maybe a custom table is the best choice. If it is there for comments and links it can also be created for notifications which is a similar object. In addition using a table like post would make everything less efficient since we don't need many columns... actually I guess |
Beta Was this translation helpful? Give feedback.
-
I forgot to include a link to the current schema: https://github.com/WordPress/wp-feature-notifications/wiki/Database-Schema My thoughts would be like a similar |
Beta Was this translation helpful? Give feedback.
-
I do worry about database bloat if each notification can have a bunch of metadata attached to it. While we can definitely enable it, I'd like to figure out the major use cases and maybe include them in the schema for the notification itself. |
Beta Was this translation helpful? Give feedback.
-
Not advocating for making notifications a CPT under the hood - however, I think something like a post/postmeta framework from the beginning might be better. Otherwise I think we'll see a lot of custom solutions for this, as 3rd party integrations might want to store metadata about their notifications.
Beta Was this translation helpful? Give feedback.
All reactions