DEV: ensure discobot has a user_option & user_profile

DEV: ensure discobot has a user_option & user_profile

When doing a migration, there might be some cases where the discobot user doesn’t have a user_option / user_profile record(s).

This ensures we always create one during the seed phase.

diff --git a/plugins/discourse-narrative-bot/db/fixtures/001_discobot.rb b/plugins/discourse-narrative-bot/db/fixtures/001_discobot.rb
index fda50b4..527dfbe 100644
--- a/plugins/discourse-narrative-bot/db/fixtures/001_discobot.rb
+++ b/plugins/discourse-narrative-bot/db/fixtures/001_discobot.rb
@@ -38,11 +38,15 @@ end
 
 bot.update!(admin: true, moderator: false)
 
+bot.create_user_option! if !bot.user_option
+
 bot.user_option.update!(
   email_messages_level: UserOption.email_level_types[:never],
   email_level: UserOption.email_level_types[:never]
 )
 
+bot.create_user_profile! if !bot.user_profile
+
 if !bot.user_profile.bio_raw
   bot.user_profile.update!(
     bio_raw: I18n.t('discourse_narrative_bot.bio', site_title: SiteSetting.title, discobot_username: bot.username)

GitHub sha: 44aaf441