Skip to content

Commit

Permalink
Add EF migrations for SecretsManager flag (#2659)
Browse files Browse the repository at this point in the history
* Add EF migrations for SecretsManager flag
  • Loading branch information
Thomas-Avery authored Feb 1, 2023
1 parent 522df6e commit 28a3d4a
Show file tree
Hide file tree
Showing 9 changed files with 7,212 additions and 738 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Bit.MySqlMigrations.Migrations;

public partial class SecretsManagerOrganizationUser : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "AccessSecretsManager",
table: "OrganizationUser",
type: "tinyint(1)",
nullable: false,
defaultValue: false);
}

protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "AccessSecretsManager",
table: "OrganizationUser");
}
}
Loading

0 comments on commit 28a3d4a

Please sign in to comment.