Skip to content

Commit

Permalink
dotnet format
Browse files Browse the repository at this point in the history
  • Loading branch information
eliykat committed Aug 27, 2024
1 parent 116676a commit f73c672
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 57 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,27 @@

#nullable disable

namespace Bit.MySqlMigrations.Migrations
namespace Bit.MySqlMigrations.Migrations;

/// <inheritdoc />
public partial class DropOrganizationUserAccessAll : Migration
{
/// <inheritdoc />
public partial class DropOrganizationUserAccessAll : Migration
protected override void Up(MigrationBuilder migrationBuilder)
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "AccessAll",
table: "OrganizationUser");
}
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);
}
/// <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 @@ -2,28 +2,27 @@

#nullable disable

namespace Bit.PostgresMigrations.Migrations
namespace Bit.PostgresMigrations.Migrations;

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

/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "AccessAll",
table: "OrganizationUser",
type: "boolean",
nullable: false,
defaultValue: false);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "AccessAll",
table: "OrganizationUser",
type: "boolean",
nullable: false,
defaultValue: false);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,27 @@

#nullable disable

namespace Bit.SqliteMigrations.Migrations
namespace Bit.SqliteMigrations.Migrations;

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

/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "AccessAll",
table: "OrganizationUser",
type: "INTEGER",
nullable: false,
defaultValue: false);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "AccessAll",
table: "OrganizationUser",
type: "INTEGER",
nullable: false,
defaultValue: false);
}
}

0 comments on commit f73c672

Please sign in to comment.