2024-07-04 11:02:45 +05:00
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
2023-05-30 09:52:36 +05:00
|
|
|
|
|
|
|
#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");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|