hanyadikhetvan-dotnethf/HanyadikHetVan/Data/Migrations/20210519014936_RemovePrice.cs

25 lines
670 B
C#
Raw Normal View History

2021-05-19 04:33:53 +02:00
using Microsoft.EntityFrameworkCore.Migrations;
namespace HanyadikHetVan.Data.Migrations
{
public partial class RemovePrice : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Price",
table: "WeeklyTimeSpans");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "Price",
table: "WeeklyTimeSpans",
type: "int",
nullable: false,
defaultValue: 0);
}
}
}