irc-netcore-api/IRaCIS.Core.Infra.EFCore/Migrations/20251020075134_useruAgreeme...

40 lines
1.1 KiB
C#

using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
/// <inheritdoc />
public partial class useruAgreement1 : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<Guid>(
name: "PrivacyPolicyId",
table: "IdentityUser",
type: "uniqueidentifier",
nullable: true);
migrationBuilder.AddColumn<Guid>(
name: "UserAgreementId",
table: "IdentityUser",
type: "uniqueidentifier",
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "PrivacyPolicyId",
table: "IdentityUser");
migrationBuilder.DropColumn(
name: "UserAgreementId",
table: "IdentityUser");
}
}
}