We're updating our Discord bot to differentiate between messages sent by users and those generated by webhooks. A new boolean field, isGeneratedByWebhook, will be added to our message database schema. This migration will not only introduce this new field but also update all previous records in our database to correctly reflect whether each message was generated by a webhook or not.
Description:
We're updating our Discord bot to differentiate between messages sent by users and those generated by webhooks. A new boolean field, isGeneratedByWebhook, will be added to our message database schema. This migration will not only introduce this new field but also update all previous records in our database to correctly reflect whether each message was generated by a webhook or not.