removed RaidLogs

This commit is contained in:
Sarah Faey 2022-12-05 14:28:04 +01:00
parent de58541d0b
commit c96d34fc6a
10 changed files with 701 additions and 198 deletions

View file

@ -207,42 +207,6 @@ namespace Lieb.Migrations
b.ToTable("Raid", (string)null);
});
modelBuilder.Entity("Lieb.Models.GuildWars2.Raid.RaidLog", b =>
{
b.Property<int>("RaidLogId")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property<string>("LogEntry")
.IsRequired()
.HasColumnType("TEXT");
b.Property<int?>("RaidId")
.HasColumnType("INTEGER");
b.Property<int?>("RaidTemplateId")
.HasColumnType("INTEGER");
b.Property<DateTimeOffset>("Time")
.HasColumnType("TEXT");
b.Property<int>("Type")
.HasColumnType("INTEGER");
b.Property<ulong?>("UserId")
.HasColumnType("INTEGER");
b.HasKey("RaidLogId");
b.HasIndex("RaidId");
b.HasIndex("RaidTemplateId");
b.HasIndex("UserId");
b.ToTable("RaidLog", (string)null);
});
modelBuilder.Entity("Lieb.Models.GuildWars2.Raid.RaidReminder", b =>
{
b.Property<int>("RaidReminderId")
@ -548,27 +512,6 @@ namespace Lieb.Migrations
.HasForeignKey("RaidTemplateId");
});
modelBuilder.Entity("Lieb.Models.GuildWars2.Raid.RaidLog", b =>
{
b.HasOne("Lieb.Models.GuildWars2.Raid.Raid", "Raid")
.WithMany("RaidLogs")
.HasForeignKey("RaidId");
b.HasOne("Lieb.Models.GuildWars2.Raid.RaidTemplate", "RaidTemplate")
.WithMany("TemplateLogs")
.HasForeignKey("RaidTemplateId");
b.HasOne("Lieb.Models.LiebUser", "User")
.WithMany()
.HasForeignKey("UserId");
b.Navigation("Raid");
b.Navigation("RaidTemplate");
b.Navigation("User");
});
modelBuilder.Entity("Lieb.Models.GuildWars2.Raid.RaidReminder", b =>
{
b.HasOne("Lieb.Models.GuildWars2.Raid.Raid", null)
@ -655,8 +598,6 @@ namespace Lieb.Migrations
{
b.Navigation("DiscordRaidMessages");
b.Navigation("RaidLogs");
b.Navigation("Reminders");
b.Navigation("Roles");
@ -671,8 +612,6 @@ namespace Lieb.Migrations
b.Navigation("Reminders");
b.Navigation("Roles");
b.Navigation("TemplateLogs");
});
modelBuilder.Entity("Lieb.Models.LiebRole", b =>