mirror of
https://github.com/bitwarden/server.git
synced 2024-11-23 12:25:16 +01:00
25 lines
574 B
C#
25 lines
574 B
C#
|
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");
|
|||
|
}
|
|||
|
}
|