1
0
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:
Kyle Spearrin 2023-01-25 12:44:32 -05:00 committed by GitHub
parent 64c15ed8cd
commit 7c55d56561
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 75 additions and 72 deletions

View File

@ -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" />

View File

@ -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");
}
}

View File

@ -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");
}
}

View File

@ -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");
}
}