forked from ddrilling/AsbCloudServer
26 lines
748 B
C#
26 lines
748 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace AsbCloudDb.Migrations
|
|
{
|
|
public partial class Add_Well_State : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<int>(
|
|
name: "state",
|
|
table: "t_well",
|
|
type: "integer",
|
|
nullable: false,
|
|
defaultValue: 0,
|
|
comment: "0 - неизвестно, 1 - в работе, 2 - завершена");
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "state",
|
|
table: "t_well");
|
|
}
|
|
}
|
|
}
|