mirror of
https://github.com/bitwarden/server.git
synced 2024-12-24 17:17:40 +01:00
25 lines
572 B
C#
25 lines
572 B
C#
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace Bit.SqliteMigrations.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");
|
|||
|
}
|
|||
|
}
|