fix 省市地区管理
This commit is contained in:
1528
Atomx.Data/Migrations/20260105102643_0.2.Designer.cs
generated
Normal file
1528
Atomx.Data/Migrations/20260105102643_0.2.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
29
Atomx.Data/Migrations/20260105102643_0.2.cs
Normal file
29
Atomx.Data/Migrations/20260105102643_0.2.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Atomx.Data.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class _02 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "Count",
|
||||
table: "Areas",
|
||||
type: "integer",
|
||||
nullable: false,
|
||||
defaultValue: 0);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Count",
|
||||
table: "Areas");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -243,6 +243,9 @@ namespace Atomx.Data.Migrations
|
||||
b.Property<bool>("AllowShipping")
|
||||
.HasColumnType("boolean");
|
||||
|
||||
b.Property<int>("Count")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<long>("CountryId")
|
||||
.HasColumnType("bigint");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user