29 lines
747 B
C#
29 lines
747 B
C#
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace HotelDataBaseImplement.Migrations
|
|||
|
{
|
|||
|
/// <inheritdoc />
|
|||
|
public partial class TempMigr : Migration
|
|||
|
{
|
|||
|
/// <inheritdoc />
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.RenameColumn(
|
|||
|
name: "DinnetPrice",
|
|||
|
table: "Dinners",
|
|||
|
newName: "DinnerPrice");
|
|||
|
}
|
|||
|
|
|||
|
/// <inheritdoc />
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.RenameColumn(
|
|||
|
name: "DinnerPrice",
|
|||
|
table: "Dinners",
|
|||
|
newName: "DinnetPrice");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|