mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
[reputation] Use file-scoped namespaces.
This commit is contained in:
@@ -5,36 +5,35 @@ using West.TelegramBot.Reputation.Data;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace West.TelegramBot.Reputation.Migrations
|
||||
namespace West.TelegramBot.Reputation.Migrations;
|
||||
|
||||
[DbContext(typeof(ReputationContext))]
|
||||
partial class ReputationContextModelSnapshot : ModelSnapshot
|
||||
{
|
||||
[DbContext(typeof(ReputationContext))]
|
||||
partial class ReputationContextModelSnapshot : ModelSnapshot
|
||||
protected override void BuildModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
protected override void BuildModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("ProductVersion", "6.0.2")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 64);
|
||||
modelBuilder
|
||||
.HasAnnotation("ProductVersion", "6.0.2")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 64);
|
||||
|
||||
modelBuilder.Entity("West.TelegramBot.ChatManagement.Data.UserReputation", b =>
|
||||
{
|
||||
b.Property<long>("ChatId")
|
||||
.HasColumnType("bigint");
|
||||
modelBuilder.Entity("West.TelegramBot.ChatManagement.Data.UserReputation", b =>
|
||||
{
|
||||
b.Property<long>("ChatId")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<long>("UserId")
|
||||
.HasColumnType("bigint");
|
||||
b.Property<long>("UserId")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
b.Property<double>("Value")
|
||||
.HasColumnType("double");
|
||||
b.Property<double>("Value")
|
||||
.HasColumnType("double");
|
||||
|
||||
b.HasKey("ChatId", "UserId");
|
||||
b.HasKey("ChatId", "UserId");
|
||||
|
||||
b.HasIndex("ChatId");
|
||||
b.HasIndex("ChatId");
|
||||
|
||||
b.ToTable("UserReputation");
|
||||
});
|
||||
b.ToTable("UserReputation");
|
||||
});
|
||||
#pragma warning restore 612, 618
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user