diff --git a/src/Sql/Sql.sqlproj b/src/Sql/Sql.sqlproj index 959dad0f5..8995419d6 100644 --- a/src/Sql/Sql.sqlproj +++ b/src/Sql/Sql.sqlproj @@ -68,6 +68,12 @@ + + + + + + diff --git a/util/MySqlMigrations/Migrations/20230124132226_KDFOptions.cs b/util/MySqlMigrations/Migrations/20230124132226_KDFOptions.cs index 256a58b1f..fdcc047b9 100644 --- a/util/MySqlMigrations/Migrations/20230124132226_KDFOptions.cs +++ b/util/MySqlMigrations/Migrations/20230124132226_KDFOptions.cs @@ -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( - name: "KdfMemory", - table: "User", - type: "int", - nullable: true); + migrationBuilder.AddColumn( + name: "KdfMemory", + table: "User", + type: "int", + nullable: true); - migrationBuilder.AddColumn( - name: "KdfParallelism", - table: "User", - type: "int", - nullable: true); - } + migrationBuilder.AddColumn( + 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"); } } diff --git a/util/PostgresMigrations/Migrations/20230124132215_KDFOptions.cs b/util/PostgresMigrations/Migrations/20230124132215_KDFOptions.cs index 3d857fda5..5a5767868 100644 --- a/util/PostgresMigrations/Migrations/20230124132215_KDFOptions.cs +++ b/util/PostgresMigrations/Migrations/20230124132215_KDFOptions.cs @@ -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( - name: "KdfMemory", - table: "User", - type: "integer", - nullable: true); + migrationBuilder.AddColumn( + name: "KdfMemory", + table: "User", + type: "integer", + nullable: true); - migrationBuilder.AddColumn( - name: "KdfParallelism", - table: "User", - type: "integer", - nullable: true); - } + migrationBuilder.AddColumn( + 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"); } } diff --git a/util/SqliteMigrations/Migrations/20230124132220_KDFOptions.cs b/util/SqliteMigrations/Migrations/20230124132220_KDFOptions.cs index d738735c8..7bb2dc129 100644 --- a/util/SqliteMigrations/Migrations/20230124132220_KDFOptions.cs +++ b/util/SqliteMigrations/Migrations/20230124132220_KDFOptions.cs @@ -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( - name: "KdfMemory", - table: "User", - type: "INTEGER", - nullable: true); + migrationBuilder.AddColumn( + name: "KdfMemory", + table: "User", + type: "INTEGER", + nullable: true); - migrationBuilder.AddColumn( - name: "KdfParallelism", - table: "User", - type: "INTEGER", - nullable: true); - } + migrationBuilder.AddColumn( + 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"); } }