This commit is contained in:
yxw
2026-01-04 18:53:19 +08:00
parent 948aa3d5b2
commit 41a939176e
11 changed files with 178 additions and 26 deletions

View File

@@ -12,7 +12,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace Atomx.Data.Migrations
{
[DbContext(typeof(DataContext))]
[Migration("20251224030208_0.1")]
[Migration("20260104093702_0.1")]
partial class _01
{
/// <inheritdoc />
@@ -245,6 +245,9 @@ namespace Atomx.Data.Migrations
b.Property<long>("CountryId")
.HasColumnType("bigint");
b.Property<int>("Depth")
.HasColumnType("integer");
b.Property<int>("DisplayOrder")
.HasColumnType("integer");
@@ -262,6 +265,10 @@ namespace Atomx.Data.Migrations
b.Property<long>("ParentId")
.HasColumnType("bigint");
b.Property<string>("Path")
.IsRequired()
.HasColumnType("varchar(100)");
b.Property<long>("StateProvinceId")
.HasColumnType("bigint");

View File

@@ -106,6 +106,8 @@ namespace Atomx.Data.Migrations
ParentId = table.Column<long>(type: "bigint", nullable: false),
Name = table.Column<string>(type: "varchar(256)", nullable: false),
Initial = table.Column<string>(type: "varchar(1)", nullable: false),
Depth = table.Column<int>(type: "integer", nullable: false),
Path = table.Column<string>(type: "varchar(100)", nullable: false),
AllowShipping = table.Column<bool>(type: "boolean", nullable: false),
Enabled = table.Column<bool>(type: "boolean", nullable: false),
DisplayOrder = table.Column<int>(type: "integer", nullable: false)

View File

@@ -242,6 +242,9 @@ namespace Atomx.Data.Migrations
b.Property<long>("CountryId")
.HasColumnType("bigint");
b.Property<int>("Depth")
.HasColumnType("integer");
b.Property<int>("DisplayOrder")
.HasColumnType("integer");
@@ -259,6 +262,10 @@ namespace Atomx.Data.Migrations
b.Property<long>("ParentId")
.HasColumnType("bigint");
b.Property<string>("Path")
.IsRequired()
.HasColumnType("varchar(100)");
b.Property<long>("StateProvinceId")
.HasColumnType("bigint");