2346c67f3a
Divisione aree Redis tra app (x TaskMan in particolare) Test apertura app
27 lines
677 B
C#
27 lines
677 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace MP.TaskMan.Migrations
|
|
{
|
|
public partial class AddTaskStatus : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "Enabled",
|
|
table: "TaskList",
|
|
type: "bit",
|
|
nullable: false,
|
|
defaultValue: false);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "Enabled",
|
|
table: "TaskList");
|
|
}
|
|
}
|
|
}
|