Skip to content

Commit

Permalink
Re-run ef migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
eliykat committed Sep 13, 2024
1 parent 69f10e8 commit 93bbc0b
Show file tree
Hide file tree
Showing 9 changed files with 8,461 additions and 15 deletions.

Large diffs are not rendered by default.

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

#nullable disable

namespace Bit.MySqlMigrations.Migrations

Check warning on line 5 in util/MySqlMigrations/Migrations/20240913045606_DropOrganizationUserAccessAll.cs

View workflow job for this annotation

GitHub Actions / Lint

Convert to file-scoped namespace
{
/// <inheritdoc />
public partial class DropOrganizationUserAccessAll : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "AccessAll",
table: "OrganizationUser");
}

/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "AccessAll",
table: "OrganizationUser",
type: "tinyint(1)",
nullable: false,
defaultValue: false);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1222,11 +1222,6 @@ protected override void BuildModel(ModelBuilder modelBuilder)
b.Property<Guid>("Id")
.HasColumnType("char(36)");
b.Property<bool>("AccessAll")
.ValueGeneratedOnAdd()
.HasColumnType("tinyint(1)")
.HasDefaultValue(false);
b.Property<bool>("AccessSecretsManager")
.HasColumnType("tinyint(1)");
Expand Down
Loading

0 comments on commit 93bbc0b

Please sign in to comment.