forked from ddrilling/AsbCloudServer
27 lines
761 B
C#
27 lines
761 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace AsbCloudDb.Migrations
|
|
{
|
|
public partial class Add_RadiusTarget_To_PlannedTrajectory : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<double>(
|
|
name: "radius_target",
|
|
table: "t_planned_trajectory",
|
|
type: "double precision",
|
|
nullable: true,
|
|
comment: "Радиус цели");
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "radius_target",
|
|
table: "t_planned_trajectory");
|
|
}
|
|
}
|
|
}
|