24 lines
620 B
C#
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");
|
|
}
|
|
}
|
|
}
|