1
0
mirror of https://github.com/bitwarden/server synced 2025-12-19 09:43:25 +00:00

add migrations

This commit is contained in:
jaasen-livefront
2025-12-02 16:49:00 -08:00
parent 2671c23268
commit 3c30168d30
9 changed files with 10424 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,27 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Bit.PostgresMigrations.Migrations;
/// <inheritdoc />
public partial class AddCipherArchives : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "Archives",
table: "Cipher",
type: "text",
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Archives",
table: "Cipher");
}
}

View File

@@ -2320,6 +2320,9 @@ namespace Bit.PostgresMigrations.Migrations
b.Property<DateTime?>("ArchivedDate")
.HasColumnType("timestamp with time zone");
b.Property<string>("Archives")
.HasColumnType("text");
b.Property<string>("Attachments")
.HasColumnType("text");