forked from ddrilling/AsbCloudServer
28 lines
854 B
C#
28 lines
854 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace AsbCloudDb.Migrations
|
|
{
|
|
public partial class Add_Fields2_To_ProcessMapDrillingCache : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "has_oscillation",
|
|
table: "t_process_map_drilling_cache",
|
|
type: "boolean",
|
|
nullable: false,
|
|
defaultValue: false,
|
|
comment: "Наличие или отсутствие осцилляции");
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "has_oscillation",
|
|
table: "t_process_map_drilling_cache");
|
|
}
|
|
}
|
|
}
|