Spaces:
Running
Running
File size: 2,241 Bytes
e0e601c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace FlowAPI.Infrastructure.Migrations
{
/// <inheritdoc />
public partial class AddTaskNodeVisualFields : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "Color",
table: "TaskNodes",
type: "TEXT",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "Data",
table: "TaskNodes",
type: "TEXT",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "Description",
table: "TaskNodes",
type: "TEXT",
nullable: true);
migrationBuilder.AddColumn<double>(
name: "Height",
table: "TaskNodes",
type: "REAL",
nullable: true);
migrationBuilder.AddColumn<bool>(
name: "IsPinned",
table: "TaskNodes",
type: "INTEGER",
nullable: false,
defaultValue: false);
migrationBuilder.AddColumn<double>(
name: "Width",
table: "TaskNodes",
type: "REAL",
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Color",
table: "TaskNodes");
migrationBuilder.DropColumn(
name: "Data",
table: "TaskNodes");
migrationBuilder.DropColumn(
name: "Description",
table: "TaskNodes");
migrationBuilder.DropColumn(
name: "Height",
table: "TaskNodes");
migrationBuilder.DropColumn(
name: "IsPinned",
table: "TaskNodes");
migrationBuilder.DropColumn(
name: "Width",
table: "TaskNodes");
}
}
}
|