1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-21 12:05:42 +01:00

[AC-1682] dotnet format

This commit is contained in:
Rui Tome 2024-03-25 15:28:46 +00:00
parent 262887f9c3
commit 00eea0621c
No known key found for this signature in database
GPG Key ID: 526239D96A8EC066
3 changed files with 33 additions and 36 deletions

View File

@ -3,20 +3,19 @@ using Microsoft.EntityFrameworkCore.Migrations;
#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";
protected override void Up(MigrationBuilder migrationBuilder)
{
private const string _enableOrgsCollectionEnhancementsScript = "MySqlMigrations.HelperScripts.2024-03-22_00_EnableOrgsCollectionEnhancements.sql";
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");
}
}

View File

@ -3,20 +3,19 @@ using Microsoft.EntityFrameworkCore.Migrations;
#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";
protected override void Up(MigrationBuilder migrationBuilder)
{
private const string _enableOrgsCollectionEnhancementsScript = "PostgresMigrations.HelperScripts.2024-03-22_00_EnableOrgsCollectionEnhancements.psql";
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");
}
}

View File

@ -3,20 +3,19 @@ using Microsoft.EntityFrameworkCore.Migrations;
#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";
protected override void Up(MigrationBuilder migrationBuilder)
{
private const string _enableOrgsCollectionEnhancementsScript = "SqliteMigrations.HelperScripts.2024-03-22_00_EnableOrgsCollectionEnhancements.sql";
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");
}
}