gehgassi_backend/gehGassi.Persistence/Migrations/20250209114142_AppUserSubscriptionsIsValidAdded.cs

30 lines
807 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace gehGassi.Persistence.Migrations
{
/// <inheritdoc />
public partial class AppUserSubscriptionsIsValidAdded : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "IsValid",
table: "AppUserSubscriptions",
type: "bit",
nullable: false,
defaultValue: false);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "IsValid",
table: "AppUserSubscriptions");
}
}
}