mirror of
https://github.com/bitwarden/server
synced 2025-12-27 21:53:24 +00:00
add missing migrations
This commit is contained in:
@@ -12,7 +12,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
||||
namespace Bit.PostgresMigrations.Migrations
|
||||
{
|
||||
[DbContext(typeof(DatabaseContext))]
|
||||
[Migration("20251203004812_AddCipherArchives")]
|
||||
[Migration("20251203174911_AddCipherArchives")]
|
||||
partial class AddCipherArchives
|
||||
{
|
||||
/// <inheritdoc />
|
||||
@@ -10,18 +10,12 @@ 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");
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user