2023-05-16 17:41:58 +04:00
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
|
|
|
|
|
|
#nullable disable
|
|
|
|
|
|
|
|
|
|
namespace HotelDataBaseImplement.Migrations
|
|
|
|
|
{
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
|
public partial class TempMigr : Migration
|
|
|
|
|
{
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
|
|
|
{
|
|
|
|
|
migrationBuilder.RenameColumn(
|
2023-05-17 11:08:38 +04:00
|
|
|
|
name: "DinnerPrice",
|
2023-05-16 17:41:58 +04:00
|
|
|
|
table: "Dinners",
|
|
|
|
|
newName: "DinnerPrice");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
|
|
|
{
|
|
|
|
|
migrationBuilder.RenameColumn(
|
|
|
|
|
name: "DinnerPrice",
|
|
|
|
|
table: "Dinners",
|
|
|
|
|
newName: "DinnetPrice");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|