Files
server/util/PostgresMigrations/Migrations/20260518153215_AddStatusNewToOrganizationUser.cs
sven-bitwarden b848298543 [PM-37593] Add OrganizationUserStatusTypeNew - 🪓 Revoked (#7666)
* adds new OrganizationUserStatusTypeNew property to OrganizationUser

* Correctly order columns

* refresh all associated views
2026-05-21 14:08:30 -05:00

28 lines
689 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Bit.PostgresMigrations.Migrations;
/// <inheritdoc />
public partial class AddStatusNewToOrganizationUser : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<short>(
name: "StatusNew",
table: "OrganizationUser",
type: "smallint",
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "StatusNew",
table: "OrganizationUser");
}
}