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

24 lines
620 B
C#

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");
}
}
}