Spaces:
Running
Running
Download FlowAPI.Infrastructure/Migrations/20260517154225_AddAvatarUrl.cs from DanilDrotik/FlowAPI: direct link, hf CLI and curl.
- Browser
- Download file 728 Bytes
-
https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/main/FlowAPI.Infrastructure/Migrations/20260517154225_AddAvatarUrl.cs
- Command line
-
hf download hf://spaces/DanilDrotik/FlowAPI/FlowAPI.Infrastructure/Migrations/20260517154225_AddAvatarUrl.cs
-
curl -L -o 20260517154225_AddAvatarUrl.cs https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/main/FlowAPI.Infrastructure/Migrations/20260517154225_AddAvatarUrl.cs
728 Bytes
| using Microsoft.EntityFrameworkCore.Migrations; | |
| namespace FlowAPI.Infrastructure.Migrations | |
| { | |
| /// <inheritdoc /> | |
| public partial class AddAvatarUrl : Migration | |
| { | |
| /// <inheritdoc /> | |
| protected override void Up(MigrationBuilder migrationBuilder) | |
| { | |
| migrationBuilder.AddColumn<string>( | |
| name: "AvatarUrl", | |
| table: "Users", | |
| type: "TEXT", | |
| nullable: true); | |
| } | |
| /// <inheritdoc /> | |
| protected override void Down(MigrationBuilder migrationBuilder) | |
| { | |
| migrationBuilder.DropColumn( | |
| name: "AvatarUrl", | |
| table: "Users"); | |
| } | |
| } | |
| } | |