2024-07-04 11:02:45 +05:00
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
2023-10-13 16:58:27 +05:00
|
|
|
|
|
|
|
#nullable disable
|
|
|
|
|
|
|
|
namespace AsbCloudDb.Migrations
|
|
|
|
{
|
|
|
|
public partial class Update_WellContacts_Set_FullName : Migration
|
|
|
|
{
|
|
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
|
|
{
|
|
|
|
migrationBuilder.RenameColumn(
|
|
|
|
name: "fio",
|
|
|
|
table: "t_contact",
|
|
|
|
newName: "full_name");
|
|
|
|
}
|
|
|
|
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
|
|
{
|
|
|
|
migrationBuilder.RenameColumn(
|
|
|
|
name: "full_name",
|
|
|
|
table: "t_contact",
|
|
|
|
newName: "fio");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|