//
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using EllieBot.Services.Database;
#nullable disable
namespace EllieBot.Migrations
{
[DbContext(typeof(SqliteContext))]
[Migration("20220503234243_new-rero")]
partial class newrero
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "6.0.3");
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.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")
.IsRequired()
.HasMaxLength(20)
.HasColumnType("TEXT");
b.Property("OwnerId")
.HasColumnType("INTEGER");
b.Property("Xp")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasAlternateKey("Name");
b.HasIndex("OwnerId")
.IsUnique();
b.ToTable("Clubs");
});
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("LastLevelUp")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT")
.HasDefaultValueSql("datetime('now')");
b.Property("LastXpGain")
.ValueGeneratedOnAdd()
.HasColumnType("TEXT")
.HasDefaultValueSql("datetime('now', '-1 years')");
b.Property("NotifyOnLevelUp")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER")
.HasDefaultValue(0);
b.Property("TotalXp")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER")
.HasDefaultValue(0);
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.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.Services.Database.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.Services.Database.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.Services.Database.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.Services.Database.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.Services.Database.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.Services.Database.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.Services.Database.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.Services.Database.Models.BanTemplate", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("GuildId")
.HasColumnType("INTEGER");
b.Property("Text")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("GuildId")
.IsUnique();
b.ToTable("BanTemplates");
});
modelBuilder.Entity("EllieBot.Services.Database.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.Services.Database.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.Services.Database.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.Services.Database.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.Services.Database.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.Services.Database.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.Services.Database.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.Services.Database.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("Url")
.IsRequired()
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasAlternateKey("GuildConfigId", "Url");
b.ToTable("FeedSub");
});
modelBuilder.Entity("EllieBot.Services.Database.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.Services.Database.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.Services.Database.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.Services.Database.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.Services.Database.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.Services.Database.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.Services.Database.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("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("TimeZoneId")
.HasColumnType("TEXT");
b.Property("VerboseErrors")
.HasColumnType("INTEGER");
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.Services.Database.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.Services.Database.Models.IgnoredVoicePresenceChannel", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("ChannelId")
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("LogSettingId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("LogSettingId");
b.ToTable("IgnoredVoicePresenceCHannels");
});
modelBuilder.Entity("EllieBot.Services.Database.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.HasKey("Id");
b.HasIndex("ChannelId")
.IsUnique();
b.ToTable("ImageOnlyChannels");
});
modelBuilder.Entity("EllieBot.Services.Database.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("MessageDeletedId")
.HasColumnType("INTEGER");
b.Property("MessageUpdatedId")
.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("UserUpdatedId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("GuildId")
.IsUnique();
b.ToTable("LogSettings");
});
modelBuilder.Entity("EllieBot.Services.Database.Models.MusicPlayerSettings", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("AutoDisconnect")
.HasColumnType("INTEGER");
b.Property("AutoPlay")
.HasColumnType("INTEGER");
b.Property("GuildId")
.HasColumnType("INTEGER");
b.Property("MusicChannelId")
.HasColumnType("INTEGER");
b.Property("PlayerRepeat")
.HasColumnType("INTEGER");
b.Property("QualityPreset")
.HasColumnType("INTEGER");
b.Property("Volume")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER")
.HasDefaultValue(100);
b.HasKey("Id");
b.HasIndex("GuildId")
.IsUnique();
b.ToTable("MusicPlayerSettings");
});
modelBuilder.Entity("EllieBot.Services.Database.Models.MusicPlaylist", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("Author")
.HasColumnType("TEXT");
b.Property("AuthorId")
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("Name")
.HasColumnType("TEXT");
b.HasKey("Id");
b.ToTable("MusicPlaylists");
});
modelBuilder.Entity("EllieBot.Services.Database.Models.MutedUserId", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("GuildConfigId")
.HasColumnType("INTEGER");
b.Property("UserId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.HasIndex("GuildConfigId");
b.ToTable("MutedUserId");
});
modelBuilder.Entity("EllieBot.Services.Database.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.Services.Database.Models.NsfwBlacklistedTag", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property("GuildId")
.HasColumnType("INTEGER");
b.Property("Tag")
.HasColumnType("TEXT");
b.HasKey("Id");
b.HasIndex("GuildId");
b.ToTable("NsfwBlacklistedTags");
});
modelBuilder.Entity("EllieBot.Services.Database.Models.Permissionv2", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("DateAdded")
.HasColumnType("TEXT");
b.Property