Files
lux/Lux.Report.Data/Migrations/ReportContextModelSnapshot.cs

64 lines
2.1 KiB
C#

// <auto-generated />
using Lux.Report.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace Lux.Report.Data.Migrations
{
[DbContext(typeof(ReportContext))]
partial class ReportContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "8.0.23")
.HasAnnotation("Relational:MaxIdentifierLength", 64);
MySqlModelBuilderExtensions.AutoIncrementColumns(modelBuilder);
modelBuilder.Entity("Lux.Report.Data.DbModel.ReportModel", b =>
{
b.Property<int>("ReportID")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("ReportID"));
b.Property<string>("ActRepFileName")
.IsRequired()
.HasColumnType("longtext");
b.Property<string>("Description")
.IsRequired()
.HasColumnType("longtext");
b.Property<string>("FileConfDataRaw")
.IsRequired()
.HasColumnType("longtext");
b.Property<string>("JsonDSN")
.IsRequired()
.HasColumnType("longtext");
b.Property<string>("Name")
.IsRequired()
.HasColumnType("longtext");
b.Property<string>("ParamConfigRaw")
.IsRequired()
.HasColumnType("longtext");
b.HasKey("ReportID");
b.ToTable("report_list");
});
#pragma warning restore 612, 618
}
}
}