Spaces:
Sleeping
Sleeping
Download 20260701003932_AddSubscriptionPlanToUsers.cs from Ahmedtiger7/quick: direct link, hf CLI and curl.
- Browser
- Download file 835 Bytes
-
https://huggingface.co/spaces/Ahmedtiger7/quick/resolve/main/20260701003932_AddSubscriptionPlanToUsers.cs
- Command line
-
hf download hf://spaces/Ahmedtiger7/quick/20260701003932_AddSubscriptionPlanToUsers.cs
-
curl -L -o 20260701003932_AddSubscriptionPlanToUsers.cs https://huggingface.co/spaces/Ahmedtiger7/quick/resolve/main/20260701003932_AddSubscriptionPlanToUsers.cs
835 Bytes
| using Microsoft.EntityFrameworkCore.Migrations; | |
| namespace quickInvoiceSaaS.Migrations | |
| { | |
| /// <inheritdoc /> | |
| public partial class AddSubscriptionPlanToUsers : Migration | |
| { | |
| /// <inheritdoc /> | |
| protected override void Up(MigrationBuilder migrationBuilder) | |
| { | |
| migrationBuilder.AddColumn<string>( | |
| name: "SubscriptionPlan", | |
| table: "AspNetUsers", | |
| type: "nvarchar(max)", | |
| nullable: false, | |
| defaultValue: ""); | |
| } | |
| /// <inheritdoc /> | |
| protected override void Down(MigrationBuilder migrationBuilder) | |
| { | |
| migrationBuilder.DropColumn( | |
| name: "SubscriptionPlan", | |
| table: "AspNetUsers"); | |
| } | |
| } | |
| } | |