mirror of
https://github.com/bitwarden/server.git
synced 2024-11-21 12:05:42 +01:00
fix lint issues and sql csproj (#2627)
This commit is contained in:
parent
64c15ed8cd
commit
7c55d56561
@ -68,6 +68,12 @@
|
||||
<Folder Include="dbo\Stored Procedures\" />
|
||||
<Folder Include="dbo\User Defined Types\" />
|
||||
<Folder Include="dbo\Stored Procedures\ApiKey\" />
|
||||
<Folder Include="SecretsManager\" />
|
||||
<Folder Include="SecretsManager\dbo\" />
|
||||
<Folder Include="SecretsManager\dbo\Stored Procedures\" />
|
||||
<Folder Include="SecretsManager\dbo\Stored Procedures\ApiKey\" />
|
||||
<Folder Include="SecretsManager\dbo\Tables\" />
|
||||
<Folder Include="SecretsManager\dbo\Views\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Build Include="dbo\Functions\CipherDetails.sql" />
|
||||
|
@ -2,34 +2,33 @@
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Bit.MySqlMigrations.Migrations
|
||||
namespace Bit.MySqlMigrations.Migrations;
|
||||
|
||||
public partial class KDFOptions : Migration
|
||||
{
|
||||
public partial class KDFOptions : Migration
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "KdfMemory",
|
||||
table: "User",
|
||||
type: "int",
|
||||
nullable: true);
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "KdfMemory",
|
||||
table: "User",
|
||||
type: "int",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "KdfParallelism",
|
||||
table: "User",
|
||||
type: "int",
|
||||
nullable: true);
|
||||
}
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "KdfParallelism",
|
||||
table: "User",
|
||||
type: "int",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "KdfMemory",
|
||||
table: "User");
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "KdfMemory",
|
||||
table: "User");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "KdfParallelism",
|
||||
table: "User");
|
||||
}
|
||||
migrationBuilder.DropColumn(
|
||||
name: "KdfParallelism",
|
||||
table: "User");
|
||||
}
|
||||
}
|
||||
|
@ -2,34 +2,33 @@
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Bit.PostgresMigrations.Migrations
|
||||
namespace Bit.PostgresMigrations.Migrations;
|
||||
|
||||
public partial class KDFOptions : Migration
|
||||
{
|
||||
public partial class KDFOptions : Migration
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "KdfMemory",
|
||||
table: "User",
|
||||
type: "integer",
|
||||
nullable: true);
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "KdfMemory",
|
||||
table: "User",
|
||||
type: "integer",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "KdfParallelism",
|
||||
table: "User",
|
||||
type: "integer",
|
||||
nullable: true);
|
||||
}
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "KdfParallelism",
|
||||
table: "User",
|
||||
type: "integer",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "KdfMemory",
|
||||
table: "User");
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "KdfMemory",
|
||||
table: "User");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "KdfParallelism",
|
||||
table: "User");
|
||||
}
|
||||
migrationBuilder.DropColumn(
|
||||
name: "KdfParallelism",
|
||||
table: "User");
|
||||
}
|
||||
}
|
||||
|
@ -2,34 +2,33 @@
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace Bit.SqliteMigrations.Migrations
|
||||
namespace Bit.SqliteMigrations.Migrations;
|
||||
|
||||
public partial class KDFOptions : Migration
|
||||
{
|
||||
public partial class KDFOptions : Migration
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "KdfMemory",
|
||||
table: "User",
|
||||
type: "INTEGER",
|
||||
nullable: true);
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "KdfMemory",
|
||||
table: "User",
|
||||
type: "INTEGER",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "KdfParallelism",
|
||||
table: "User",
|
||||
type: "INTEGER",
|
||||
nullable: true);
|
||||
}
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "KdfParallelism",
|
||||
table: "User",
|
||||
type: "INTEGER",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "KdfMemory",
|
||||
table: "User");
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "KdfMemory",
|
||||
table: "User");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "KdfParallelism",
|
||||
table: "User");
|
||||
}
|
||||
migrationBuilder.DropColumn(
|
||||
name: "KdfParallelism",
|
||||
table: "User");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user