mirror of
https://github.com/bitwarden/server.git
synced 2026-06-01 01:55:55 -05:00
* adds new OrganizationUserStatusTypeNew property to OrganizationUser * Correctly order columns * refresh all associated views
28 lines
689 B
C#
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");
|
|
}
|
|
}
|