1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 07:36:14 -05:00

[PM-10365] Drop OrganizationUser AccessAll (#4701)

* Remove OrganizationUser.AccessAll

* Final database migrations
This commit is contained in:
Thomas Rittson
2024-09-24 16:26:35 +10:00
committed by GitHub
parent 02fee8c1e9
commit f7bc5dfb2e
23 changed files with 8918 additions and 127 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,28 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Bit.PostgresMigrations.Migrations;
/// <inheritdoc />
public partial class DropOrganizationUserAccessAll : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "AccessAll",
table: "OrganizationUser");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "AccessAll",
table: "OrganizationUser",
type: "boolean",
nullable: false,
defaultValue: false);
}
}

View File

@ -1227,11 +1227,6 @@ namespace Bit.PostgresMigrations.Migrations
b.Property<Guid>("Id")
.HasColumnType("uuid");
b.Property<bool>("AccessAll")
.ValueGeneratedOnAdd()
.HasColumnType("boolean")
.HasDefaultValue(false);
b.Property<bool>("AccessSecretsManager")
.HasColumnType("boolean");