This commit is contained in:
24
HanyadikHetVan/Data/Migrations/20210519014936_RemovePrice.cs
Normal file
24
HanyadikHetVan/Data/Migrations/20210519014936_RemovePrice.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user