This sets up the foundational structure for a .NET Core 6 / React project, demonstrating common architectural patterns, Docker integration, and key Strata libraries for API, data access (EF Core), background jobs (Hangfire), real-time communication (SignalR), and various frontend UI components.
52 lines
2.0 KiB
C#
52 lines
2.0 KiB
C#
// <auto-generated />
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
|
using Strata.KitchenSink.Biz.DbContexts;
|
|
|
|
namespace Strata.KitchenSink.Biz.Migrations
|
|
{
|
|
[DbContext(typeof(KitchenSinkDbContext))]
|
|
[Migration("20211019191337_InitialCreate")]
|
|
partial class InitialCreate
|
|
{
|
|
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
|
{
|
|
#pragma warning disable 612, 618
|
|
modelBuilder
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 63)
|
|
.HasAnnotation("ProductVersion", "5.0.4")
|
|
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
|
|
|
|
modelBuilder.Entity("Strata.KitchenSink.Biz.Departments.Department", b =>
|
|
{
|
|
b.Property<int>("DepartmentId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("integer")
|
|
.HasColumnName("department_id")
|
|
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
|
|
|
|
b.Property<string>("DepartmentCode")
|
|
.HasColumnType("text")
|
|
.HasColumnName("department_code");
|
|
|
|
b.Property<int>("DepartmentType")
|
|
.HasColumnType("integer")
|
|
.HasColumnName("department_type");
|
|
|
|
b.Property<string>("Description")
|
|
.HasColumnType("text")
|
|
.HasColumnName("description");
|
|
|
|
b.HasKey("DepartmentId")
|
|
.HasName("pk_departments");
|
|
|
|
b.ToTable("departments");
|
|
});
|
|
#pragma warning restore 612, 618
|
|
}
|
|
}
|
|
}
|