mirror of
https://github.com/bitwarden/server.git
synced 2025-07-12 21:27:35 -05:00
Merge branch 'master' into feature/flexible-collections
This commit is contained in:
2146
util/PostgresMigrations/Migrations/20230208210621_CipherKeyUpdate.Designer.cs
generated
Normal file
2146
util/PostgresMigrations/Migrations/20230208210621_CipherKeyUpdate.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,24 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Bit.PostgresMigrations.Migrations;
|
||||
|
||||
public partial class CipherKeyUpdate : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "Key",
|
||||
table: "Cipher",
|
||||
type: "text",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Key",
|
||||
table: "Cipher");
|
||||
}
|
||||
}
|
@ -1519,6 +1519,9 @@ namespace Bit.PostgresMigrations.Migrations
|
||||
|
||||
b.Property<string>("Folders")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("Key")
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<Guid?>("OrganizationId")
|
||||
.HasColumnType("uuid");
|
||||
|
Reference in New Issue
Block a user