forked from ddrilling/AsbCloudServer
34 lines
1.3 KiB
C#
34 lines
1.3 KiB
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
namespace AsbCloudDb.Migrations
|
|
{
|
|
public partial class Change_File_Mark_Comment : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "id_mark",
|
|
table: "t_file_mark",
|
|
type: "integer",
|
|
nullable: false,
|
|
comment: "0 - Согласован, \n1 - Уже внесен в программу бурения",
|
|
oldClrType: typeof(int),
|
|
oldType: "integer",
|
|
oldComment: "0 - Согласован, \n1 - Отредактирован");
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AlterColumn<int>(
|
|
name: "id_mark",
|
|
table: "t_file_mark",
|
|
type: "integer",
|
|
nullable: false,
|
|
comment: "0 - Согласован, \n1 - Отредактирован",
|
|
oldClrType: typeof(int),
|
|
oldType: "integer",
|
|
oldComment: "0 - Согласован, \n1 - Уже внесен в программу бурения");
|
|
}
|
|
}
|
|
}
|