Files
telegram-bot/modules/Reputation/Migrations/ReputationContextModelSnapshot.cs
T

39 lines
1.1 KiB
C#
Raw Normal View History

// <auto-generated />
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using West.TelegramBot.Reputation.Data;
#nullable disable
2022-02-14 10:21:35 +02:00
namespace West.TelegramBot.Reputation.Migrations;
[DbContext(typeof(ReputationContext))]
partial class ReputationContextModelSnapshot : ModelSnapshot
{
2022-02-14 10:21:35 +02:00
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
2022-02-14 10:21:35 +02:00
modelBuilder
.HasAnnotation("ProductVersion", "6.0.2")
.HasAnnotation("Relational:MaxIdentifierLength", 64);
2022-02-14 10:21:35 +02:00
modelBuilder.Entity("West.TelegramBot.ChatManagement.Data.UserReputation", b =>
{
b.Property<long>("ChatId")
.HasColumnType("bigint");
2022-02-14 10:21:35 +02:00
b.Property<long>("UserId")
.HasColumnType("bigint");
2022-02-14 10:21:35 +02:00
b.Property<double>("Value")
.HasColumnType("double");
2022-02-14 10:21:35 +02:00
b.HasKey("ChatId", "UserId");
2022-02-14 10:21:35 +02:00
b.HasIndex("ChatId");
2022-02-14 10:21:35 +02:00
b.ToTable("UserReputation");
});
#pragma warning restore 612, 618
}
2022-02-14 10:21:35 +02:00
}