1
0
mirror of https://github.com/bitwarden/server synced 2025-12-22 19:23:45 +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

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");
}
}