You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.1 KiB
35 lines
1.1 KiB
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace Shentun.Peis.Migrations
|
|
{
|
|
public partial class init20240420001 : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.RenameColumn(
|
|
name: "SampleGroupId",
|
|
table: "lis_request",
|
|
newName: "sample_group_id");
|
|
|
|
migrationBuilder.RenameIndex(
|
|
name: "IX_lis_request_SampleGroupId",
|
|
table: "lis_request",
|
|
newName: "IX_lis_request_sample_group_id");
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.RenameColumn(
|
|
name: "sample_group_id",
|
|
table: "lis_request",
|
|
newName: "SampleGroupId");
|
|
|
|
migrationBuilder.RenameIndex(
|
|
name: "IX_lis_request_sample_group_id",
|
|
table: "lis_request",
|
|
newName: "IX_lis_request_SampleGroupId");
|
|
}
|
|
}
|
|
}
|