Files
Radicade/Server/Migrations/20260919000000_AddRoomRoleLastChangedBy.cs
2026-10-16 23:33:13 -07:00

27 lines
757 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Infrastructure;
using RadicadeServer.DB;
#nullable disable
namespace RadicadeServer.Migrations;
[DbContext(typeof(RecDBContext))]
[Migration("20260919000000_AddRoomRoleLastChangedBy")]
public partial class AddRoomRoleLastChangedBy : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<long>(
name: "LastChangedByAccountId",
table: "RoomRoles",
type: "bigint",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(name: "LastChangedByAccountId", table: "RoomRoles");
}
}