mirror of
https://github.com/bitwarden/server.git
synced 2025-05-20 11:04:31 -05: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\Stored Procedures\" />
|
||||||
<Folder Include="dbo\User Defined Types\" />
|
<Folder Include="dbo\User Defined Types\" />
|
||||||
<Folder Include="dbo\Stored Procedures\ApiKey\" />
|
<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>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Build Include="dbo\Functions\CipherDetails.sql" />
|
<Build Include="dbo\Functions\CipherDetails.sql" />
|
||||||
|
@ -2,34 +2,33 @@
|
|||||||
|
|
||||||
#nullable disable
|
#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",
|
||||||
migrationBuilder.AddColumn<int>(
|
table: "User",
|
||||||
name: "KdfMemory",
|
type: "int",
|
||||||
table: "User",
|
nullable: true);
|
||||||
type: "int",
|
|
||||||
nullable: true);
|
|
||||||
|
|
||||||
migrationBuilder.AddColumn<int>(
|
migrationBuilder.AddColumn<int>(
|
||||||
name: "KdfParallelism",
|
name: "KdfParallelism",
|
||||||
table: "User",
|
table: "User",
|
||||||
type: "int",
|
type: "int",
|
||||||
nullable: true);
|
nullable: true);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Down(MigrationBuilder migrationBuilder)
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||||||
{
|
{
|
||||||
migrationBuilder.DropColumn(
|
migrationBuilder.DropColumn(
|
||||||
name: "KdfMemory",
|
name: "KdfMemory",
|
||||||
table: "User");
|
table: "User");
|
||||||
|
|
||||||
migrationBuilder.DropColumn(
|
migrationBuilder.DropColumn(
|
||||||
name: "KdfParallelism",
|
name: "KdfParallelism",
|
||||||
table: "User");
|
table: "User");
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,34 +2,33 @@
|
|||||||
|
|
||||||
#nullable disable
|
#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",
|
||||||
migrationBuilder.AddColumn<int>(
|
table: "User",
|
||||||
name: "KdfMemory",
|
type: "integer",
|
||||||
table: "User",
|
nullable: true);
|
||||||
type: "integer",
|
|
||||||
nullable: true);
|
|
||||||
|
|
||||||
migrationBuilder.AddColumn<int>(
|
migrationBuilder.AddColumn<int>(
|
||||||
name: "KdfParallelism",
|
name: "KdfParallelism",
|
||||||
table: "User",
|
table: "User",
|
||||||
type: "integer",
|
type: "integer",
|
||||||
nullable: true);
|
nullable: true);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Down(MigrationBuilder migrationBuilder)
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||||||
{
|
{
|
||||||
migrationBuilder.DropColumn(
|
migrationBuilder.DropColumn(
|
||||||
name: "KdfMemory",
|
name: "KdfMemory",
|
||||||
table: "User");
|
table: "User");
|
||||||
|
|
||||||
migrationBuilder.DropColumn(
|
migrationBuilder.DropColumn(
|
||||||
name: "KdfParallelism",
|
name: "KdfParallelism",
|
||||||
table: "User");
|
table: "User");
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,34 +2,33 @@
|
|||||||
|
|
||||||
#nullable disable
|
#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",
|
||||||
migrationBuilder.AddColumn<int>(
|
table: "User",
|
||||||
name: "KdfMemory",
|
type: "INTEGER",
|
||||||
table: "User",
|
nullable: true);
|
||||||
type: "INTEGER",
|
|
||||||
nullable: true);
|
|
||||||
|
|
||||||
migrationBuilder.AddColumn<int>(
|
migrationBuilder.AddColumn<int>(
|
||||||
name: "KdfParallelism",
|
name: "KdfParallelism",
|
||||||
table: "User",
|
table: "User",
|
||||||
type: "INTEGER",
|
type: "INTEGER",
|
||||||
nullable: true);
|
nullable: true);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void Down(MigrationBuilder migrationBuilder)
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||||||
{
|
{
|
||||||
migrationBuilder.DropColumn(
|
migrationBuilder.DropColumn(
|
||||||
name: "KdfMemory",
|
name: "KdfMemory",
|
||||||
table: "User");
|
table: "User");
|
||||||
|
|
||||||
migrationBuilder.DropColumn(
|
migrationBuilder.DropColumn(
|
||||||
name: "KdfParallelism",
|
name: "KdfParallelism",
|
||||||
table: "User");
|
table: "User");
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user