Files
GestorWebFacturas/Backend/GestorFacturas.API/Migrations/20251210174020_AddIsPersistentToRefreshToken.cs
2025-12-12 15:40:34 -03:00

30 lines
798 B
C#

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