using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace RestaurantDatabaseImplement.Migrations
{
///
public partial class migr2 : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn(
name: "Price",
table: "Products",
type: "double precision",
nullable: false,
oldClrType: typeof(int),
oldType: "integer");
migrationBuilder.AlterColumn(
name: "Price",
table: "Orders",
type: "double precision",
nullable: false,
oldClrType: typeof(int),
oldType: "integer");
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn(
name: "Price",
table: "Products",
type: "integer",
nullable: false,
oldClrType: typeof(double),
oldType: "double precision");
migrationBuilder.AlterColumn(
name: "Price",
table: "Orders",
type: "integer",
nullable: false,
oldClrType: typeof(double),
oldType: "double precision");
}
}
}