Files
BeReadyBackend/BeReadyBackend/Migrations/20260221132926_DeletedIsActiveFieldInUserAchievementEntity.cs
T

30 lines
806 B
C#

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