mirror of
https://github.com/bitwarden/server.git
synced 2024-11-24 12:35:25 +01:00
35 lines
851 B
C#
35 lines
851 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace Bit.SqliteMigrations.Migrations;
|
|
|
|
public partial class SecretsManagerEvent : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<Guid>(
|
|
name: "SecretId",
|
|
table: "Event",
|
|
type: "TEXT",
|
|
nullable: true);
|
|
|
|
migrationBuilder.AddColumn<Guid>(
|
|
name: "ServiceAccountId",
|
|
table: "Event",
|
|
type: "TEXT",
|
|
nullable: true);
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "SecretId",
|
|
table: "Event");
|
|
|
|
migrationBuilder.DropColumn(
|
|
name: "ServiceAccountId",
|
|
table: "Event");
|
|
}
|
|
}
|