DD.WellWorkover.Cloud/AsbCloudDb/Migrations/20210916094617_AddWellDepthToMessage.cs
Фролов 0b1f9683b9 fix jsonSerializer settings;
reafctor TelemetryHub;
Add wellDepth into TelemetryMessage
2021-09-17 16:24:01 +05:00

25 lines
707 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
namespace AsbCloudDb.Migrations
{
public partial class AddWellDepthToMessage : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<double>(
name: "well_depth",
table: "t_telemetry_message",
type: "double precision",
nullable: false,
defaultValue: 0.0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "well_depth",
table: "t_telemetry_message");
}
}
}