diff --git a/util/MySqlMigrations/Migrations/20250325193540_CreateOpaqueKeyExchangeEntityAndProcedures.Designer.cs b/util/MySqlMigrations/Migrations/20250326124705_CreateOpaqueKeyExchangeCredential.Designer.cs
similarity index 99%
rename from util/MySqlMigrations/Migrations/20250325193540_CreateOpaqueKeyExchangeEntityAndProcedures.Designer.cs
rename to util/MySqlMigrations/Migrations/20250326124705_CreateOpaqueKeyExchangeCredential.Designer.cs
index b2228a1a1e..3832e99776 100644
--- a/util/MySqlMigrations/Migrations/20250325193540_CreateOpaqueKeyExchangeEntityAndProcedures.Designer.cs
+++ b/util/MySqlMigrations/Migrations/20250326124705_CreateOpaqueKeyExchangeCredential.Designer.cs
@@ -12,8 +12,8 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Bit.MySqlMigrations.Migrations
{
[DbContext(typeof(DatabaseContext))]
- [Migration("20250325193540_CreateOpaqueKeyExchangeEntityAndProcedures")]
- partial class CreateOpaqueKeyExchangeEntityAndProcedures
+ [Migration("20250326124705_CreateOpaqueKeyExchangeCredential")]
+ partial class CreateOpaqueKeyExchangeCredential
{
///
protected override void BuildTargetModel(ModelBuilder modelBuilder)
diff --git a/util/MySqlMigrations/Migrations/20250325193540_CreateOpaqueKeyExchangeEntityAndProcedures.cs b/util/MySqlMigrations/Migrations/20250326124705_CreateOpaqueKeyExchangeCredential.cs
similarity index 85%
rename from util/MySqlMigrations/Migrations/20250325193540_CreateOpaqueKeyExchangeEntityAndProcedures.cs
rename to util/MySqlMigrations/Migrations/20250326124705_CreateOpaqueKeyExchangeCredential.cs
index 9debdb0160..7a5b3d4663 100644
--- a/util/MySqlMigrations/Migrations/20250325193540_CreateOpaqueKeyExchangeEntityAndProcedures.cs
+++ b/util/MySqlMigrations/Migrations/20250326124705_CreateOpaqueKeyExchangeCredential.cs
@@ -6,18 +6,11 @@ using Microsoft.EntityFrameworkCore.Migrations;
namespace Bit.MySqlMigrations.Migrations
{
///
- public partial class CreateOpaqueKeyExchangeEntityAndProcedures : Migration
+ public partial class CreateOpaqueKeyExchangeCredential : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
- migrationBuilder.AddColumn(
- name: "DiscountId",
- table: "Provider",
- type: "longtext",
- nullable: true)
- .Annotation("MySql:CharSet", "utf8mb4");
-
migrationBuilder.CreateTable(
name: "OpaqueKeyExchangeCredential",
columns: table => new
@@ -59,10 +52,6 @@ namespace Bit.MySqlMigrations.Migrations
{
migrationBuilder.DropTable(
name: "OpaqueKeyExchangeCredential");
-
- migrationBuilder.DropColumn(
- name: "DiscountId",
- table: "Provider");
}
}
}
diff --git a/util/PostgresMigrations/Migrations/20250325193524_CreateOpaqueKeyExchangeEntityAndProcedures.Designer.cs b/util/PostgresMigrations/Migrations/20250326124645_CreateOpaqueKeyExchangeCredential.Designer.cs
similarity index 99%
rename from util/PostgresMigrations/Migrations/20250325193524_CreateOpaqueKeyExchangeEntityAndProcedures.Designer.cs
rename to util/PostgresMigrations/Migrations/20250326124645_CreateOpaqueKeyExchangeCredential.Designer.cs
index a0a2e2ef3a..195804aa3f 100644
--- a/util/PostgresMigrations/Migrations/20250325193524_CreateOpaqueKeyExchangeEntityAndProcedures.Designer.cs
+++ b/util/PostgresMigrations/Migrations/20250326124645_CreateOpaqueKeyExchangeCredential.Designer.cs
@@ -12,8 +12,8 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
namespace Bit.PostgresMigrations.Migrations
{
[DbContext(typeof(DatabaseContext))]
- [Migration("20250325193524_CreateOpaqueKeyExchangeEntityAndProcedures")]
- partial class CreateOpaqueKeyExchangeEntityAndProcedures
+ [Migration("20250326124645_CreateOpaqueKeyExchangeCredential")]
+ partial class CreateOpaqueKeyExchangeCredential
{
///
protected override void BuildTargetModel(ModelBuilder modelBuilder)
diff --git a/util/PostgresMigrations/Migrations/20250325193524_CreateOpaqueKeyExchangeEntityAndProcedures.cs b/util/PostgresMigrations/Migrations/20250326124645_CreateOpaqueKeyExchangeCredential.cs
similarity index 84%
rename from util/PostgresMigrations/Migrations/20250325193524_CreateOpaqueKeyExchangeEntityAndProcedures.cs
rename to util/PostgresMigrations/Migrations/20250326124645_CreateOpaqueKeyExchangeCredential.cs
index ac2b02533c..22204d159e 100644
--- a/util/PostgresMigrations/Migrations/20250325193524_CreateOpaqueKeyExchangeEntityAndProcedures.cs
+++ b/util/PostgresMigrations/Migrations/20250326124645_CreateOpaqueKeyExchangeCredential.cs
@@ -6,17 +6,11 @@ using Microsoft.EntityFrameworkCore.Migrations;
namespace Bit.PostgresMigrations.Migrations
{
///
- public partial class CreateOpaqueKeyExchangeEntityAndProcedures : Migration
+ public partial class CreateOpaqueKeyExchangeCredential : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
- migrationBuilder.AddColumn(
- name: "DiscountId",
- table: "Provider",
- type: "text",
- nullable: true);
-
migrationBuilder.CreateTable(
name: "OpaqueKeyExchangeCredential",
columns: table => new
@@ -52,10 +46,6 @@ namespace Bit.PostgresMigrations.Migrations
{
migrationBuilder.DropTable(
name: "OpaqueKeyExchangeCredential");
-
- migrationBuilder.DropColumn(
- name: "DiscountId",
- table: "Provider");
}
}
}
diff --git a/util/SqliteMigrations/Migrations/20250325193532_CreateOpaqueKeyExchangeEntityAndProcedures.Designer.cs b/util/SqliteMigrations/Migrations/20250326124656_CreateOpaqueKeyExchangeCredential.Designer.cs
similarity index 99%
rename from util/SqliteMigrations/Migrations/20250325193532_CreateOpaqueKeyExchangeEntityAndProcedures.Designer.cs
rename to util/SqliteMigrations/Migrations/20250326124656_CreateOpaqueKeyExchangeCredential.Designer.cs
index dcad548cc2..37192109f6 100644
--- a/util/SqliteMigrations/Migrations/20250325193532_CreateOpaqueKeyExchangeEntityAndProcedures.Designer.cs
+++ b/util/SqliteMigrations/Migrations/20250326124656_CreateOpaqueKeyExchangeCredential.Designer.cs
@@ -11,8 +11,8 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Bit.SqliteMigrations.Migrations
{
[DbContext(typeof(DatabaseContext))]
- [Migration("20250325193532_CreateOpaqueKeyExchangeEntityAndProcedures")]
- partial class CreateOpaqueKeyExchangeEntityAndProcedures
+ [Migration("20250326124656_CreateOpaqueKeyExchangeCredential")]
+ partial class CreateOpaqueKeyExchangeCredential
{
///
protected override void BuildTargetModel(ModelBuilder modelBuilder)
diff --git a/util/SqliteMigrations/Migrations/20250325193532_CreateOpaqueKeyExchangeEntityAndProcedures.cs b/util/SqliteMigrations/Migrations/20250326124656_CreateOpaqueKeyExchangeCredential.cs
similarity index 84%
rename from util/SqliteMigrations/Migrations/20250325193532_CreateOpaqueKeyExchangeEntityAndProcedures.cs
rename to util/SqliteMigrations/Migrations/20250326124656_CreateOpaqueKeyExchangeCredential.cs
index 0417d4b7c1..26fe28f40e 100644
--- a/util/SqliteMigrations/Migrations/20250325193532_CreateOpaqueKeyExchangeEntityAndProcedures.cs
+++ b/util/SqliteMigrations/Migrations/20250326124656_CreateOpaqueKeyExchangeCredential.cs
@@ -6,17 +6,11 @@ using Microsoft.EntityFrameworkCore.Migrations;
namespace Bit.SqliteMigrations.Migrations
{
///
- public partial class CreateOpaqueKeyExchangeEntityAndProcedures : Migration
+ public partial class CreateOpaqueKeyExchangeCredential : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
- migrationBuilder.AddColumn(
- name: "DiscountId",
- table: "Provider",
- type: "TEXT",
- nullable: true);
-
migrationBuilder.CreateTable(
name: "OpaqueKeyExchangeCredential",
columns: table => new
@@ -52,10 +46,6 @@ namespace Bit.SqliteMigrations.Migrations
{
migrationBuilder.DropTable(
name: "OpaqueKeyExchangeCredential");
-
- migrationBuilder.DropColumn(
- name: "DiscountId",
- table: "Provider");
}
}
}