Files
lux/Lux.Report.Data/Migrations/20260424130010_AddReportFileConf.Designer.cs

67 lines
2.2 KiB
C#

// <auto-generated />
using Lux.Report.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace Lux.Report.Data.Migrations
{
[DbContext(typeof(ReportContext))]
[Migration("20260424130010_AddReportFileConf")]
partial class AddReportFileConf
{
/// <inheritdoc />
protected override void BuildTargetModel(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
}
}
}