Skip to content

Commit

Permalink
[AC-1682] dotnet format
Browse files Browse the repository at this point in the history
  • Loading branch information
r-tome committed Mar 25, 2024
1 parent 262887f commit 00eea06
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 36 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,19 @@

#nullable disable

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

public partial class EnableOrgsCollectionEnhancements : Migration
{
public partial class EnableOrgsCollectionEnhancements : Migration
{
private const string _enableOrgsCollectionEnhancementsScript = "MySqlMigrations.HelperScripts.2024-03-22_00_EnableOrgsCollectionEnhancements.sql";
private const string _enableOrgsCollectionEnhancementsScript = "MySqlMigrations.HelperScripts.2024-03-22_00_EnableOrgsCollectionEnhancements.sql";

protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Sql(CoreHelpers.GetEmbeddedResourceContentsAsync(_enableOrgsCollectionEnhancementsScript));
}
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Sql(CoreHelpers.GetEmbeddedResourceContentsAsync(_enableOrgsCollectionEnhancementsScript));
}

protected override void Down(MigrationBuilder migrationBuilder)
{
throw new Exception("Irreversible migration");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
throw new Exception("Irreversible migration");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,19 @@

#nullable disable

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

public partial class EnableOrgsCollectionEnhancements : Migration
{
public partial class EnableOrgsCollectionEnhancements : Migration
{
private const string _enableOrgsCollectionEnhancementsScript = "PostgresMigrations.HelperScripts.2024-03-22_00_EnableOrgsCollectionEnhancements.psql";
private const string _enableOrgsCollectionEnhancementsScript = "PostgresMigrations.HelperScripts.2024-03-22_00_EnableOrgsCollectionEnhancements.psql";

protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Sql(CoreHelpers.GetEmbeddedResourceContentsAsync(_enableOrgsCollectionEnhancementsScript));
}
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Sql(CoreHelpers.GetEmbeddedResourceContentsAsync(_enableOrgsCollectionEnhancementsScript));
}

protected override void Down(MigrationBuilder migrationBuilder)
{
throw new Exception("Irreversible migration");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
throw new Exception("Irreversible migration");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,19 @@

#nullable disable

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

public partial class EnableOrgsCollectionEnhancements : Migration
{
public partial class EnableOrgsCollectionEnhancements : Migration
{
private const string _enableOrgsCollectionEnhancementsScript = "SqliteMigrations.HelperScripts.2024-03-22_00_EnableOrgsCollectionEnhancements.sql";
private const string _enableOrgsCollectionEnhancementsScript = "SqliteMigrations.HelperScripts.2024-03-22_00_EnableOrgsCollectionEnhancements.sql";

protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Sql(CoreHelpers.GetEmbeddedResourceContentsAsync(_enableOrgsCollectionEnhancementsScript));
}
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Sql(CoreHelpers.GetEmbeddedResourceContentsAsync(_enableOrgsCollectionEnhancementsScript));
}

protected override void Down(MigrationBuilder migrationBuilder)
{
throw new Exception("Irreversible migration");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
throw new Exception("Irreversible migration");
}
}

0 comments on commit 00eea06

Please sign in to comment.