hanyadikhetvan-dotnethf/HanyadikHetVan/Data/Migrations/20210519014822_AddPruse.cs

25 lines
667 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 AddPruse : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "Price",
table: "WeeklyTimeSpans",
type: "int",
nullable: false,
defaultValue: 0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Price",
table: "WeeklyTimeSpans");
}
}
}