forked from ddrilling/AsbCloudServer
25 lines
675 B
C#
25 lines
675 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
||
|
||
namespace AsbCloudDb.Migrations
|
||
{
|
||
public partial class Remove_CompositeWell_id : Migration
|
||
{
|
||
protected override void Up(MigrationBuilder migrationBuilder)
|
||
{
|
||
migrationBuilder.DropColumn(
|
||
name: "Id",
|
||
table: "t_сomposite_well");
|
||
}
|
||
|
||
protected override void Down(MigrationBuilder migrationBuilder)
|
||
{
|
||
migrationBuilder.AddColumn<int>(
|
||
name: "Id",
|
||
table: "t_сomposite_well",
|
||
type: "integer",
|
||
nullable: false,
|
||
defaultValue: 0);
|
||
}
|
||
}
|
||
}
|