mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
161 lines
5.8 KiB
161 lines
5.8 KiB
// <auto-generated />
|
|
using System;
|
|
using DistDemoApp;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Metadata;
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
using Volo.Abp.EntityFrameworkCore;
|
|
|
|
namespace DistDemoApp.Migrations
|
|
{
|
|
[DbContext(typeof(TodoDbContext))]
|
|
partial class TodoDbContextModelSnapshot : ModelSnapshot
|
|
{
|
|
protected override void BuildModel(ModelBuilder modelBuilder)
|
|
{
|
|
#pragma warning disable 612, 618
|
|
modelBuilder
|
|
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 128)
|
|
.HasAnnotation("ProductVersion", "5.0.9")
|
|
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
|
|
|
|
modelBuilder.Entity("DistDemoApp.TodoItem", b =>
|
|
{
|
|
b.Property<Guid>("Id")
|
|
.HasColumnType("uniqueidentifier");
|
|
|
|
b.Property<string>("ConcurrencyStamp")
|
|
.IsConcurrencyToken()
|
|
.HasMaxLength(40)
|
|
.HasColumnType("nvarchar(40)")
|
|
.HasColumnName("ConcurrencyStamp");
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2")
|
|
.HasColumnName("CreationTime");
|
|
|
|
b.Property<Guid?>("CreatorId")
|
|
.HasColumnType("uniqueidentifier")
|
|
.HasColumnName("CreatorId");
|
|
|
|
b.Property<string>("ExtraProperties")
|
|
.HasColumnType("nvarchar(max)")
|
|
.HasColumnName("ExtraProperties");
|
|
|
|
b.Property<string>("Text")
|
|
.IsRequired()
|
|
.HasMaxLength(128)
|
|
.HasColumnType("nvarchar(128)");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("TodoItems");
|
|
});
|
|
|
|
modelBuilder.Entity("DistDemoApp.TodoSummary", b =>
|
|
{
|
|
b.Property<int>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("int")
|
|
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
|
|
|
|
b.Property<string>("ConcurrencyStamp")
|
|
.IsConcurrencyToken()
|
|
.HasMaxLength(40)
|
|
.HasColumnType("nvarchar(40)")
|
|
.HasColumnName("ConcurrencyStamp");
|
|
|
|
b.Property<byte>("Day")
|
|
.HasColumnType("tinyint");
|
|
|
|
b.Property<string>("ExtraProperties")
|
|
.HasColumnType("nvarchar(max)")
|
|
.HasColumnName("ExtraProperties");
|
|
|
|
b.Property<byte>("Month")
|
|
.HasColumnType("tinyint");
|
|
|
|
b.Property<int>("TotalCount")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("Year")
|
|
.HasColumnType("int");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("TodoSummaries");
|
|
});
|
|
|
|
modelBuilder.Entity("Volo.Abp.EntityFrameworkCore.DistributedEvents.IncomingEventRecord", b =>
|
|
{
|
|
b.Property<Guid>("Id")
|
|
.HasColumnType("uniqueidentifier");
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2")
|
|
.HasColumnName("CreationTime");
|
|
|
|
b.Property<byte[]>("EventData")
|
|
.IsRequired()
|
|
.HasColumnType("varbinary(max)");
|
|
|
|
b.Property<string>("EventName")
|
|
.IsRequired()
|
|
.HasMaxLength(256)
|
|
.HasColumnType("nvarchar(256)");
|
|
|
|
b.Property<string>("ExtraProperties")
|
|
.HasColumnType("nvarchar(max)")
|
|
.HasColumnName("ExtraProperties");
|
|
|
|
b.Property<string>("MessageId")
|
|
.HasColumnType("nvarchar(450)");
|
|
|
|
b.Property<bool>("Processed")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<DateTime?>("ProcessedTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.HasIndex("MessageId");
|
|
|
|
b.HasIndex("Processed", "CreationTime");
|
|
|
|
b.ToTable("AbpEventInbox");
|
|
});
|
|
|
|
modelBuilder.Entity("Volo.Abp.EntityFrameworkCore.DistributedEvents.OutgoingEventRecord", b =>
|
|
{
|
|
b.Property<Guid>("Id")
|
|
.HasColumnType("uniqueidentifier");
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2")
|
|
.HasColumnName("CreationTime");
|
|
|
|
b.Property<byte[]>("EventData")
|
|
.IsRequired()
|
|
.HasColumnType("varbinary(max)");
|
|
|
|
b.Property<string>("EventName")
|
|
.IsRequired()
|
|
.HasMaxLength(256)
|
|
.HasColumnType("nvarchar(256)");
|
|
|
|
b.Property<string>("ExtraProperties")
|
|
.HasColumnType("nvarchar(max)")
|
|
.HasColumnName("ExtraProperties");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("AbpEventOutbox");
|
|
});
|
|
#pragma warning restore 612, 618
|
|
}
|
|
}
|
|
}
|