//
using System;
using EllieBot.Db;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace EllieBot.Sqlite
{
[DbContext(typeof(SqliteContext))]
[Migration("20240619051129_InitialCreate")]
partial class InitialCreate
{
///
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "8.0.4");
modelBuilder.Entity("EllieBot.Db.Models.AntiAltSetting", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("Action")
.HasColumnType("INTEGER");
b.Property("ActionDurationMinutes")
.HasColumnType("INTEGER");
b.Property("GuildConfigId")
.HasColumnType("INTEGER");
b.Property("MinAge")
.HasColumnType("TEXT");
b.Property("RoleId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("GuildConfigId")
.IsUnique();
b.ToTable("AntiAltSetting");
});
modelBuilder.Entity("EllieBot.Db.Models.AntiRaidSetting", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("Action")
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("GuildConfigId")
.HasColumnType("INTEGER");
b.Property("PunishDuration")
.HasColumnType("INTEGER");
b.Property("Seconds")
.HasColumnType("INTEGER");
b.Property("UserThreshold")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("GuildConfigId")
.IsUnique();
b.ToTable("AntiRaidSetting");
});
modelBuilder.Entity("EllieBot.Db.Models.AntiSpamIgnore", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("AntiSpamSettingId")
.HasColumnType("INTEGER");
b.Property("ChannelId")
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("AntiSpamSettingId");
b.ToTable("AntiSpamIgnore");
});
modelBuilder.Entity("EllieBot.Db.Models.AntiSpamSetting", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("Action")
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("GuildConfigId")
.HasColumnType("INTEGER");
b.Property("MessageThreshold")
.HasColumnType("INTEGER");
b.Property("MuteTime")
.HasColumnType("INTEGER");
b.Property("RoleId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("GuildConfigId")
.IsUnique();
b.ToTable("AntiSpamSetting");
});
modelBuilder.Entity("EllieBot.Db.Models.ArchivedTodoListModel", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("Name")
.HasColumnType("TEXT");
b.Property("UserId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.ToTable("TodosArchive");
});
modelBuilder.Entity("EllieBot.Db.Models.AutoCommand", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("ChannelId")
.HasColumnType("INTEGER");
b.Property("ChannelName")
.HasColumnType("TEXT");
b.Property("CommandText")
.HasColumnType("TEXT");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("GuildId")
.HasColumnType("INTEGER");
b.Property("GuildName")
.HasColumnType("TEXT");
b.Property("Interval")
.HasColumnType("INTEGER");
b.Property("VoiceChannelId")
.HasColumnType("INTEGER");
b.Property("VoiceChannelName")
.HasColumnType("TEXT");
b.HasKey("Id");
b.ToTable("AutoCommands");
});
modelBuilder.Entity("EllieBot.Db.Models.AutoPublishChannel", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("ChannelId")
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("GuildId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("GuildId")
.IsUnique();
b.ToTable("AutoPublishChannel");
});
modelBuilder.Entity("EllieBot.Db.Models.AutoTranslateChannel", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("AutoDelete")
.HasColumnType("INTEGER");
b.Property("ChannelId")
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("GuildId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("ChannelId")
.IsUnique();
b.HasIndex("GuildId");
b.ToTable("AutoTranslateChannels");
});
modelBuilder.Entity("EllieBot.Db.Models.AutoTranslateUser", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("ChannelId")
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("Source")
.HasColumnType("TEXT");
b.Property("Target")
.HasColumnType("TEXT");
b.Property("UserId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasAlternateKey("ChannelId", "UserId");
b.ToTable("AutoTranslateUsers");
});
modelBuilder.Entity("EllieBot.Db.Models.BanTemplate", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("GuildId")
.HasColumnType("INTEGER");
b.Property("PruneDays")
.HasColumnType("INTEGER");
b.Property("Text")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("GuildId")
.IsUnique();
b.ToTable("BanTemplates");
});
modelBuilder.Entity("EllieBot.Db.Models.BankUser", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("Balance")
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("UserId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("UserId")
.IsUnique();
b.ToTable("BankUsers");
});
modelBuilder.Entity("EllieBot.Db.Models.BlacklistEntry", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("ItemId")
.HasColumnType("INTEGER");
b.Property("Type")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.ToTable("Blacklist");
});
modelBuilder.Entity("EllieBot.Db.Models.ClubApplicants", b =>
{
b.Property("ClubId")
.HasColumnType("INTEGER");
b.Property("UserId")
.HasColumnType("INTEGER");
b.HasKey("ClubId", "UserId");
b.HasIndex("UserId");
b.ToTable("ClubApplicants");
});
modelBuilder.Entity("EllieBot.Db.Models.ClubBans", b =>
{
b.Property("ClubId")
.HasColumnType("INTEGER");
b.Property("UserId")
.HasColumnType("INTEGER");
b.HasKey("ClubId", "UserId");
b.HasIndex("UserId");
b.ToTable("ClubBans");
});
modelBuilder.Entity("EllieBot.Db.Models.ClubInfo", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("Description")
.HasColumnType("TEXT");
b.Property("ImageUrl")
.HasColumnType("TEXT");
b.Property("Name")
.HasMaxLength(20)
.HasColumnType("TEXT");
b.Property("OwnerId")
.HasColumnType("INTEGER");
b.Property("Xp")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("Name")
.IsUnique();
b.HasIndex("OwnerId")
.IsUnique();
b.ToTable("Clubs");
});
modelBuilder.Entity("EllieBot.Db.Models.CommandAlias", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("GuildConfigId")
.HasColumnType("INTEGER");
b.Property("Mapping")
.HasColumnType("TEXT");
b.Property("Trigger")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("GuildConfigId");
b.ToTable("CommandAlias");
});
modelBuilder.Entity("EllieBot.Db.Models.CommandCooldown", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("CommandName")
.HasColumnType("TEXT");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("GuildConfigId")
.HasColumnType("INTEGER");
b.Property("Seconds")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("GuildConfigId");
b.ToTable("CommandCooldown");
});
modelBuilder.Entity("EllieBot.Db.Models.CurrencyTransaction", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("Amount")
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("Extra")
.IsRequired()
.HasColumnType("TEXT");
b.Property("Note")
.HasColumnType("TEXT");
b.Property("OtherId")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER")
.HasDefaultValueSql("NULL");
b.Property("Type")
.IsRequired()
.HasColumnType("TEXT");
b.Property("UserId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("UserId");
b.ToTable("CurrencyTransactions");
});
modelBuilder.Entity("EllieBot.Db.Models.DelMsgOnCmdChannel", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("ChannelId")
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("GuildConfigId")
.HasColumnType("INTEGER");
b.Property("State")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("GuildConfigId");
b.ToTable("DelMsgOnCmdChannel");
});
modelBuilder.Entity("EllieBot.Db.Models.DiscordPermOverride", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("Command")
.HasColumnType("TEXT");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("GuildId")
.HasColumnType("INTEGER");
b.Property("Perm")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("GuildId", "Command")
.IsUnique();
b.ToTable("DiscordPermOverrides");
});
modelBuilder.Entity("EllieBot.Db.Models.DiscordUser", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("AvatarId")
.HasColumnType("TEXT");
b.Property("ClubId")
.HasColumnType("INTEGER");
b.Property("CurrencyAmount")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER")
.HasDefaultValue(0L);
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("Discriminator")
.HasColumnType("TEXT");
b.Property("IsClubAdmin")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER")
.HasDefaultValue(false);
b.Property("NotifyOnLevelUp")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER")
.HasDefaultValue(0);
b.Property("TotalXp")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER")
.HasDefaultValue(0L);
b.Property("UserId")
.HasColumnType("INTEGER");
b.Property("Username")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasAlternateKey("UserId");
b.HasIndex("ClubId");
b.HasIndex("CurrencyAmount");
b.HasIndex("TotalXp");
b.HasIndex("UserId");
b.ToTable("DiscordUser");
});
modelBuilder.Entity("EllieBot.Db.Models.EllieExpression", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("AllowTarget")
.HasColumnType("INTEGER");
b.Property("AutoDeleteTrigger")
.HasColumnType("INTEGER");
b.Property("ContainsAnywhere")
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("DmResponse")
.HasColumnType("INTEGER");
b.Property("GuildId")
.HasColumnType("INTEGER");
b.Property("Reactions")
.HasColumnType("TEXT");
b.Property("Response")
.HasColumnType("TEXT");
b.Property("Trigger")
.HasColumnType("TEXT");
b.HasKey("Id");
b.ToTable("Expressions");
});
modelBuilder.Entity("EllieBot.Db.Models.ExcludedItem", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("ItemId")
.HasColumnType("INTEGER");
b.Property("ItemType")
.HasColumnType("INTEGER");
b.Property("XpSettingsId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("XpSettingsId");
b.ToTable("ExcludedItem");
});
modelBuilder.Entity("EllieBot.Db.Models.FeedSub", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("ChannelId")
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("GuildConfigId")
.HasColumnType("INTEGER");
b.Property("Message")
.HasColumnType("TEXT");
b.Property("Url")
.IsRequired()
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasAlternateKey("GuildConfigId", "Url");
b.ToTable("FeedSub");
});
modelBuilder.Entity("EllieBot.Db.Models.FilterChannelId", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("ChannelId")
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("GuildConfigId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("GuildConfigId");
b.ToTable("FilterChannelId");
});
modelBuilder.Entity("EllieBot.Db.Models.FilterLinksChannelId", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("ChannelId")
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("GuildConfigId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("GuildConfigId");
b.ToTable("FilterLinksChannelId");
});
modelBuilder.Entity("EllieBot.Db.Models.FilterWordsChannelId", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("ChannelId")
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("GuildConfigId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("GuildConfigId");
b.ToTable("FilterWordsChannelId");
});
modelBuilder.Entity("EllieBot.Db.Models.FilteredWord", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("GuildConfigId")
.HasColumnType("INTEGER");
b.Property("Word")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("GuildConfigId");
b.ToTable("FilteredWord");
});
modelBuilder.Entity("EllieBot.Db.Models.FollowedStream", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("ChannelId")
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("GuildConfigId")
.HasColumnType("INTEGER");
b.Property("GuildId")
.HasColumnType("INTEGER");
b.Property("Message")
.HasColumnType("TEXT");
b.Property("Type")
.HasColumnType("INTEGER");
b.Property("Username")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("GuildConfigId");
b.ToTable("FollowedStream");
});
modelBuilder.Entity("EllieBot.Db.Models.GCChannelId", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("ChannelId")
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("GuildConfigId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("GuildConfigId");
b.ToTable("GCChannelId");
});
modelBuilder.Entity("EllieBot.Db.Models.GamblingStats", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("Bet")
.HasColumnType("TEXT");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("Feature")
.HasColumnType("TEXT");
b.Property("PaidOut")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("Feature")
.IsUnique();
b.ToTable("GamblingStats");
});
modelBuilder.Entity("EllieBot.Db.Models.GiveawayModel", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("ChannelId")
.HasColumnType("INTEGER");
b.Property("EndsAt")
.HasColumnType("TEXT");
b.Property("GuildId")
.HasColumnType("INTEGER");
b.Property("Message")
.HasColumnType("TEXT");
b.Property("MessageId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.ToTable("GiveawayModel");
});
modelBuilder.Entity("EllieBot.Db.Models.GiveawayUser", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("GiveawayId")
.HasColumnType("INTEGER");
b.Property("Name")
.HasColumnType("TEXT");
b.Property("UserId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("GiveawayId", "UserId")
.IsUnique();
b.ToTable("GiveawayUser");
});
modelBuilder.Entity("EllieBot.Db.Models.GroupName", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("GuildConfigId")
.HasColumnType("INTEGER");
b.Property("Name")
.HasColumnType("TEXT");
b.Property("Number")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("GuildConfigId", "Number")
.IsUnique();
b.ToTable("GroupName");
});
modelBuilder.Entity("EllieBot.Db.Models.GuildConfig", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("AutoAssignRoleIds")
.HasColumnType("TEXT");
b.Property("AutoDeleteByeMessagesTimer")
.HasColumnType("INTEGER");
b.Property("AutoDeleteGreetMessagesTimer")
.HasColumnType("INTEGER");
b.Property("AutoDeleteSelfAssignedRoleMessages")
.HasColumnType("INTEGER");
b.Property("BoostMessage")
.HasColumnType("TEXT");
b.Property("BoostMessageChannelId")
.HasColumnType("INTEGER");
b.Property("BoostMessageDeleteAfter")
.HasColumnType("INTEGER");
b.Property("ByeMessageChannelId")
.HasColumnType("INTEGER");
b.Property("ChannelByeMessageText")
.HasColumnType("TEXT");
b.Property("ChannelGreetMessageText")
.HasColumnType("TEXT");
b.Property("CleverbotEnabled")
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("DeleteMessageOnCommand")
.HasColumnType("INTEGER");
b.Property("DeleteStreamOnlineMessage")
.HasColumnType("INTEGER");
b.Property("DisableGlobalExpressions")
.HasColumnType("INTEGER");
b.Property("DmGreetMessageText")
.HasColumnType("TEXT");
b.Property("ExclusiveSelfAssignedRoles")
.HasColumnType("INTEGER");
b.Property("FilterInvites")
.HasColumnType("INTEGER");
b.Property("FilterLinks")
.HasColumnType("INTEGER");
b.Property("FilterWords")
.HasColumnType("INTEGER");
b.Property("GameVoiceChannel")
.HasColumnType("INTEGER");
b.Property("GreetMessageChannelId")
.HasColumnType("INTEGER");
b.Property("GuildId")
.HasColumnType("INTEGER");
b.Property("Locale")
.HasColumnType("TEXT");
b.Property("MuteRoleName")
.HasColumnType("TEXT");
b.Property("NotifyStreamOffline")
.HasColumnType("INTEGER");
b.Property("PermissionRole")
.HasColumnType("TEXT");
b.Property("Prefix")
.HasColumnType("TEXT");
b.Property("SendBoostMessage")
.HasColumnType("INTEGER");
b.Property("SendChannelByeMessage")
.HasColumnType("INTEGER");
b.Property("SendChannelGreetMessage")
.HasColumnType("INTEGER");
b.Property("SendDmGreetMessage")
.HasColumnType("INTEGER");
b.Property("StickyRoles")
.HasColumnType("INTEGER");
b.Property("TimeZoneId")
.HasColumnType("TEXT");
b.Property("VerboseErrors")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER")
.HasDefaultValue(true);
b.Property("VerbosePermissions")
.HasColumnType("INTEGER");
b.Property("WarnExpireAction")
.HasColumnType("INTEGER");
b.Property("WarnExpireHours")
.HasColumnType("INTEGER");
b.Property("WarningsInitialized")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("GuildId")
.IsUnique();
b.HasIndex("WarnExpireHours");
b.ToTable("GuildConfigs");
});
modelBuilder.Entity("EllieBot.Db.Models.IgnoredLogItem", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("ItemType")
.HasColumnType("INTEGER");
b.Property("LogItemId")
.HasColumnType("INTEGER");
b.Property("LogSettingId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("LogSettingId", "LogItemId", "ItemType")
.IsUnique();
b.ToTable("IgnoredLogChannels");
});
modelBuilder.Entity("EllieBot.Db.Models.ImageOnlyChannel", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("ChannelId")
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("GuildId")
.HasColumnType("INTEGER");
b.Property("Type")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("ChannelId")
.IsUnique();
b.ToTable("ImageOnlyChannels");
});
modelBuilder.Entity("EllieBot.Db.Models.LogSetting", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("ChannelCreatedId")
.HasColumnType("INTEGER");
b.Property("ChannelDestroyedId")
.HasColumnType("INTEGER");
b.Property("ChannelUpdatedId")
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("GuildId")
.HasColumnType("INTEGER");
b.Property("LogOtherId")
.HasColumnType("INTEGER");
b.Property("LogUserPresenceId")
.HasColumnType("INTEGER");
b.Property("LogVoicePresenceId")
.HasColumnType("INTEGER");
b.Property("LogVoicePresenceTTSId")
.HasColumnType("INTEGER");
b.Property("LogWarnsId")
.HasColumnType("INTEGER");
b.Property("MessageDeletedId")
.HasColumnType("INTEGER");
b.Property("MessageUpdatedId")
.HasColumnType("INTEGER");
b.Property("ThreadCreatedId")
.HasColumnType("INTEGER");
b.Property("ThreadDeletedId")
.HasColumnType("INTEGER");
b.Property("UserBannedId")
.HasColumnType("INTEGER");
b.Property("UserJoinedId")
.HasColumnType("INTEGER");
b.Property("UserLeftId")
.HasColumnType("INTEGER");
b.Property("UserMutedId")
.HasColumnType("INTEGER");
b.Property("UserUnbannedId")
.HasColumnType("INTEGER");
b.Property