Spaces:
Sleeping
Sleeping
Download FlowAPI.Infrastructure/Migrations/20261111224418_AddNodeGroups.cs from DanilDrotik/FlowAPI: direct link, hf CLI and curl.
- Browser
- Download file 745 Bytes
-
https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/main/FlowAPI.Infrastructure/Migrations/20261111224418_AddNodeGroups.cs
- Command line
-
hf download hf://spaces/DanilDrotik/FlowAPI/FlowAPI.Infrastructure/Migrations/20261111224418_AddNodeGroups.cs
-
curl -L -o 20261111224418_AddNodeGroups.cs https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/main/FlowAPI.Infrastructure/Migrations/20261111224418_AddNodeGroups.cs
745 Bytes
| using System; | |
| using Microsoft.EntityFrameworkCore.Migrations; | |
| namespace FlowAPI.Infrastructure.Migrations | |
| { | |
| /// <inheritdoc /> | |
| public partial class AddNodeGroups : Migration | |
| { | |
| /// <inheritdoc /> | |
| protected override void Up(MigrationBuilder migrationBuilder) | |
| { | |
| migrationBuilder.AddColumn<Guid>( | |
| name: "GroupId", | |
| table: "TaskNodes", | |
| type: "TEXT", | |
| nullable: true); | |
| } | |
| /// <inheritdoc /> | |
| protected override void Down(MigrationBuilder migrationBuilder) | |
| { | |
| migrationBuilder.DropColumn( | |
| name: "GroupId", | |
| table: "TaskNodes"); | |
| } | |
| } | |
| } | |