//
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
{
///
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("ReportID")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property("ReportID"));
b.Property("ActRepFileName")
.IsRequired()
.HasColumnType("longtext");
b.Property("Description")
.IsRequired()
.HasColumnType("longtext");
b.Property("FileConfDataRaw")
.IsRequired()
.HasColumnType("longtext");
b.Property("JsonDSN")
.IsRequired()
.HasColumnType("longtext");
b.Property("Name")
.IsRequired()
.HasColumnType("longtext");
b.Property("ParamConfigRaw")
.IsRequired()
.HasColumnType("longtext");
b.HasKey("ReportID");
b.ToTable("report_list");
});
#pragma warning restore 612, 618
}
}
}