feat: 提交配送中心点与门店地址映射全量变更
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 42s
All checks were successful
Build and Deploy TenantApi / build-and-deploy (push) Successful in 42s
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,44 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace TakeoutSaaS.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class AddStoreDeliveryRadiusCenter : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<decimal>(
|
||||
name: "RadiusCenterLatitude",
|
||||
table: "store_delivery_settings",
|
||||
type: "numeric(10,7)",
|
||||
precision: 10,
|
||||
scale: 7,
|
||||
nullable: true,
|
||||
comment: "半径配送中心点纬度。");
|
||||
|
||||
migrationBuilder.AddColumn<decimal>(
|
||||
name: "RadiusCenterLongitude",
|
||||
table: "store_delivery_settings",
|
||||
type: "numeric(10,7)",
|
||||
precision: 10,
|
||||
scale: 7,
|
||||
nullable: true,
|
||||
comment: "半径配送中心点经度。");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "RadiusCenterLatitude",
|
||||
table: "store_delivery_settings");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "RadiusCenterLongitude",
|
||||
table: "store_delivery_settings");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5274,6 +5274,16 @@ namespace TakeoutSaaS.Infrastructure.Migrations
|
||||
.HasColumnType("integer")
|
||||
.HasComment("配送模式。");
|
||||
|
||||
b.Property<decimal?>("RadiusCenterLatitude")
|
||||
.HasPrecision(10, 7)
|
||||
.HasColumnType("numeric(10,7)")
|
||||
.HasComment("半径配送中心点纬度。");
|
||||
|
||||
b.Property<decimal?>("RadiusCenterLongitude")
|
||||
.HasPrecision(10, 7)
|
||||
.HasColumnType("numeric(10,7)")
|
||||
.HasComment("半径配送中心点经度。");
|
||||
|
||||
b.Property<string>("RadiusTiersJson")
|
||||
.HasColumnType("text")
|
||||
.HasComment("半径梯度配置 JSON。");
|
||||
|
||||
Reference in New Issue
Block a user