blazor-calendar/BlazorApp/Migrations/20210701193227_CalendarAddN...

24 lines
620 B
C#
Raw Normal View History

2021-07-03 12:19:53 +00:00
using Microsoft.EntityFrameworkCore.Migrations;
namespace BlazorApp.Migrations
{
public partial class CalendarAddName : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "Name",
table: "Calendars",
type: "TEXT",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Name",
table: "Calendars");
}
}
}