mirror of
https://github.com/bitwarden/server.git
synced 2025-07-04 01:22:50 -05:00
Merge branch 'master' into feature/families-for-enterprise
This commit is contained in:
@ -7,7 +7,7 @@ namespace Bit.PostgresMigrations.Migrations
|
||||
public partial class SplitManageCollectionsPermissions2 : Migration
|
||||
{
|
||||
private const string _scriptLocation =
|
||||
"PostgresMigration.Scripts.2021-09-21_01_SplitManageCollectionsPermission.psql";
|
||||
"PostgresMigrations.Scripts.2021-09-21_01_SplitManageCollectionsPermission.psql";
|
||||
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
|
@ -7,7 +7,7 @@ namespace Bit.PostgresMigrations.Migrations
|
||||
public partial class SetMaxAutoscaleSeatsToCurrentSeatCount : Migration
|
||||
{
|
||||
private const string _scriptLocation =
|
||||
"PostgresMigration.Scripts.2021-10-21_00_SetMaxAutoscaleSeatCount.sql";
|
||||
"PostgresMigrations.Scripts.2021-10-21_00_SetMaxAutoscaleSeatCount.psql";
|
||||
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
|
1504
util/PostgresMigrations/Migrations/20211108041547_KeyConnector.Designer.cs
generated
Normal file
1504
util/PostgresMigrations/Migrations/20211108041547_KeyConnector.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,24 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace Bit.PostgresMigrations.Migrations
|
||||
{
|
||||
public partial class KeyConnector : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "UsesKeyConnector",
|
||||
table: "User",
|
||||
type: "boolean",
|
||||
nullable: false,
|
||||
defaultValue: false);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "UsesKeyConnector",
|
||||
table: "User");
|
||||
}
|
||||
}
|
||||
}
|
@ -1187,7 +1187,7 @@ namespace Bit.PostgresMigrations.Migrations
|
||||
.HasMaxLength(32)
|
||||
.HasColumnType("character varying(32)");
|
||||
|
||||
b.Property<bool>("UsesCryptoAgent")
|
||||
b.Property<bool>("UsesKeyConnector")
|
||||
.HasColumnType("boolean");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
Reference in New Issue
Block a user