29 lines
749 B
C#
29 lines
749 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace TaskTracker.Infrastructure.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class AddEstimatedMinutes : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<int>(
|
|
name: "EstimatedMinutes",
|
|
table: "Tasks",
|
|
type: "int",
|
|
nullable: true);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "EstimatedMinutes",
|
|
table: "Tasks");
|
|
}
|
|
}
|
|
}
|