//
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using StreakBot.Data;
#nullable disable
namespace StreakBot.Migrations
{
[DbContext(typeof(StreakDbContext))]
partial class StreakDbContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "10.0.0");
modelBuilder.Entity("StreakBot.Data.Entities.Channel", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("ChannelId")
.HasColumnType("INTEGER");
b.Property("ChannelType")
.HasColumnType("INTEGER");
b.Property("MessageId")
.HasColumnType("INTEGER");
b.Property("ServerId")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.ToTable("Channels");
});
modelBuilder.Entity("StreakBot.Data.Entities.Streak", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
b.Property("ChannelId")
.HasColumnType("INTEGER");
b.Property("CreatedDate")
.HasColumnType("TEXT");
b.Property("LastResetCheck")
.HasColumnType("TEXT");
b.Property("ReminderSent")
.HasColumnType("INTEGER");
b.Property("ServerId")
.HasColumnType("INTEGER");
b.Property("MonthlyRestores")
.HasColumnType("INTEGER");
b.Property("StreakNumber")
.HasColumnType("INTEGER");
b.Property("StreakNumberToRestore")
.HasColumnType("INTEGER");
b.Property("User1Id")
.HasColumnType("INTEGER");
b.Property("User1MessageSent")
.HasColumnType("INTEGER");
b.Property("User2Id")
.HasColumnType("INTEGER");
b.Property("User2MessageSent")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.ToTable("Streaks");
});
#pragma warning restore 612, 618
}
}
}