forked from ddrilling/AsbCloudServer
Миграция на изменение названия поля: RadiusTarget на Radius
This commit is contained in:
parent
be9be27bab
commit
180c5eab50
8092
AsbCloudDb/Migrations/20230530070633_UpdateTable_t_planned_trajectory_Field_RadiusTarget_Rename.Designer.cs
generated
Normal file
8092
AsbCloudDb/Migrations/20230530070633_UpdateTable_t_planned_trajectory_Field_RadiusTarget_Rename.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,25 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace AsbCloudDb.Migrations
|
||||
{
|
||||
public partial class UpdateTable_t_planned_trajectory_Field_RadiusTarget_Rename : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "radius_target",
|
||||
table: "t_planned_trajectory",
|
||||
newName: "radius");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.RenameColumn(
|
||||
name: "radius",
|
||||
table: "t_planned_trajectory",
|
||||
newName: "radius_target");
|
||||
}
|
||||
}
|
||||
}
|
@ -2073,9 +2073,9 @@ namespace AsbCloudDb.Migrations
|
||||
.HasColumnName("orifice_offset")
|
||||
.HasComment("Смещение от устья");
|
||||
|
||||
b.Property<double?>("RadiusTarget")
|
||||
b.Property<double?>("Radius")
|
||||
.HasColumnType("double precision")
|
||||
.HasColumnName("radius_target")
|
||||
.HasColumnName("radius")
|
||||
.HasComment("Радиус цели");
|
||||
|
||||
b.Property<double>("SpatialIntensity")
|
||||
|
Loading…
Reference in New Issue
Block a user