diff --git a/src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/ConfirmOrganizationUserCommand.cs b/src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/ConfirmOrganizationUserCommand.cs
index 913d8c40c3..1a0cdc531c 100644
--- a/src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/ConfirmOrganizationUserCommand.cs
+++ b/src/Core/AdminConsole/OrganizationFeatures/OrganizationUsers/ConfirmOrganizationUserCommand.cs
@@ -12,7 +12,6 @@ using Bit.Core.Billing.Enums;
using Bit.Core.Entities;
using Bit.Core.Enums;
using Bit.Core.Exceptions;
-using Bit.Core.Models.Data;
using Bit.Core.Platform.Push;
using Bit.Core.Repositories;
using Bit.Core.Services;
diff --git a/test/Core.Test/AdminConsole/OrganizationFeatures/OrganizationUsers/AutoConfirmUsers/AutomaticallyConfirmUsersCommandTests.cs b/test/Core.Test/AdminConsole/OrganizationFeatures/OrganizationUsers/AutoConfirmUsers/AutomaticallyConfirmUsersCommandTests.cs
index 48138f97ed..e219caf0dd 100644
--- a/test/Core.Test/AdminConsole/OrganizationFeatures/OrganizationUsers/AutoConfirmUsers/AutomaticallyConfirmUsersCommandTests.cs
+++ b/test/Core.Test/AdminConsole/OrganizationFeatures/OrganizationUsers/AutoConfirmUsers/AutomaticallyConfirmUsersCommandTests.cs
@@ -9,7 +9,6 @@ using Bit.Core.AdminConsole.Utilities.v2;
using Bit.Core.AdminConsole.Utilities.v2.Validation;
using Bit.Core.Entities;
using Bit.Core.Enums;
-using Bit.Core.Models.Data;
using Bit.Core.Platform.Push;
using Bit.Core.Repositories;
using Bit.Core.Services;
diff --git a/test/Core.Test/AdminConsole/OrganizationFeatures/OrganizationUsers/ConfirmOrganizationUserCommandTests.cs b/test/Core.Test/AdminConsole/OrganizationFeatures/OrganizationUsers/ConfirmOrganizationUserCommandTests.cs
index 085f5c2f80..071d7313fd 100644
--- a/test/Core.Test/AdminConsole/OrganizationFeatures/OrganizationUsers/ConfirmOrganizationUserCommandTests.cs
+++ b/test/Core.Test/AdminConsole/OrganizationFeatures/OrganizationUsers/ConfirmOrganizationUserCommandTests.cs
@@ -12,7 +12,6 @@ using Bit.Core.Billing.Enums;
using Bit.Core.Entities;
using Bit.Core.Enums;
using Bit.Core.Exceptions;
-using Bit.Core.Models.Data;
using Bit.Core.Models.Data.Organizations.OrganizationUsers;
using Bit.Core.Platform.Push;
using Bit.Core.Repositories;
diff --git a/util/MySqlMigrations/Migrations/20251231233256_DefaultCollectionSemaphore.cs b/util/MySqlMigrations/Migrations/20251231233256_DefaultCollectionSemaphore.cs
index b0f1f61dfb..d738230662 100644
--- a/util/MySqlMigrations/Migrations/20251231233256_DefaultCollectionSemaphore.cs
+++ b/util/MySqlMigrations/Migrations/20251231233256_DefaultCollectionSemaphore.cs
@@ -1,41 +1,39 @@
-using System;
-using Microsoft.EntityFrameworkCore.Migrations;
+using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
-namespace Bit.MySqlMigrations.Migrations
+namespace Bit.MySqlMigrations.Migrations;
+
+///
+public partial class DefaultCollectionSemaphore : Migration
{
///
- public partial class DefaultCollectionSemaphore : Migration
+ protected override void Up(MigrationBuilder migrationBuilder)
{
- ///
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.CreateTable(
- name: "DefaultCollectionSemaphore",
- columns: table => new
- {
- OrganizationUserId = table.Column(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
- CreationDate = table.Column(type: "datetime(6)", nullable: false)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_DefaultCollectionSemaphore", x => x.OrganizationUserId);
- table.ForeignKey(
- name: "FK_DefaultCollectionSemaphore_OrganizationUser_OrganizationUser~",
- column: x => x.OrganizationUserId,
- principalTable: "OrganizationUser",
- principalColumn: "Id",
- onDelete: ReferentialAction.Cascade);
- })
- .Annotation("MySql:CharSet", "utf8mb4");
- }
+ migrationBuilder.CreateTable(
+ name: "DefaultCollectionSemaphore",
+ columns: table => new
+ {
+ OrganizationUserId = table.Column(type: "char(36)", nullable: false, collation: "ascii_general_ci"),
+ CreationDate = table.Column(type: "datetime(6)", nullable: false)
+ },
+ constraints: table =>
+ {
+ table.PrimaryKey("PK_DefaultCollectionSemaphore", x => x.OrganizationUserId);
+ table.ForeignKey(
+ name: "FK_DefaultCollectionSemaphore_OrganizationUser_OrganizationUser~",
+ column: x => x.OrganizationUserId,
+ principalTable: "OrganizationUser",
+ principalColumn: "Id",
+ onDelete: ReferentialAction.Cascade);
+ })
+ .Annotation("MySql:CharSet", "utf8mb4");
+ }
- ///
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropTable(
- name: "DefaultCollectionSemaphore");
- }
+ ///
+ protected override void Down(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.DropTable(
+ name: "DefaultCollectionSemaphore");
}
}
diff --git a/util/PostgresMigrations/Migrations/20251231233251_DefaultCollectionSemaphore.cs b/util/PostgresMigrations/Migrations/20251231233251_DefaultCollectionSemaphore.cs
index 36defcfa83..39121813ab 100644
--- a/util/PostgresMigrations/Migrations/20251231233251_DefaultCollectionSemaphore.cs
+++ b/util/PostgresMigrations/Migrations/20251231233251_DefaultCollectionSemaphore.cs
@@ -1,40 +1,38 @@
-using System;
-using Microsoft.EntityFrameworkCore.Migrations;
+using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
-namespace Bit.PostgresMigrations.Migrations
+namespace Bit.PostgresMigrations.Migrations;
+
+///
+public partial class DefaultCollectionSemaphore : Migration
{
///
- public partial class DefaultCollectionSemaphore : Migration
+ protected override void Up(MigrationBuilder migrationBuilder)
{
- ///
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.CreateTable(
- name: "DefaultCollectionSemaphore",
- columns: table => new
- {
- OrganizationUserId = table.Column(type: "uuid", nullable: false),
- CreationDate = table.Column(type: "timestamp with time zone", nullable: false)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_DefaultCollectionSemaphore", x => x.OrganizationUserId);
- table.ForeignKey(
- name: "FK_DefaultCollectionSemaphore_OrganizationUser_OrganizationUse~",
- column: x => x.OrganizationUserId,
- principalTable: "OrganizationUser",
- principalColumn: "Id",
- onDelete: ReferentialAction.Cascade);
- });
- }
+ migrationBuilder.CreateTable(
+ name: "DefaultCollectionSemaphore",
+ columns: table => new
+ {
+ OrganizationUserId = table.Column(type: "uuid", nullable: false),
+ CreationDate = table.Column(type: "timestamp with time zone", nullable: false)
+ },
+ constraints: table =>
+ {
+ table.PrimaryKey("PK_DefaultCollectionSemaphore", x => x.OrganizationUserId);
+ table.ForeignKey(
+ name: "FK_DefaultCollectionSemaphore_OrganizationUser_OrganizationUse~",
+ column: x => x.OrganizationUserId,
+ principalTable: "OrganizationUser",
+ principalColumn: "Id",
+ onDelete: ReferentialAction.Cascade);
+ });
+ }
- ///
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropTable(
- name: "DefaultCollectionSemaphore");
- }
+ ///
+ protected override void Down(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.DropTable(
+ name: "DefaultCollectionSemaphore");
}
}
diff --git a/util/SqliteMigrations/Migrations/20251231233301_DefaultCollectionSemaphore.cs b/util/SqliteMigrations/Migrations/20251231233301_DefaultCollectionSemaphore.cs
index 4a5e7ec8da..36db0718fb 100644
--- a/util/SqliteMigrations/Migrations/20251231233301_DefaultCollectionSemaphore.cs
+++ b/util/SqliteMigrations/Migrations/20251231233301_DefaultCollectionSemaphore.cs
@@ -1,40 +1,38 @@
-using System;
-using Microsoft.EntityFrameworkCore.Migrations;
+using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
-namespace Bit.SqliteMigrations.Migrations
+namespace Bit.SqliteMigrations.Migrations;
+
+///
+public partial class DefaultCollectionSemaphore : Migration
{
///
- public partial class DefaultCollectionSemaphore : Migration
+ protected override void Up(MigrationBuilder migrationBuilder)
{
- ///
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.CreateTable(
- name: "DefaultCollectionSemaphore",
- columns: table => new
- {
- OrganizationUserId = table.Column(type: "TEXT", nullable: false),
- CreationDate = table.Column(type: "TEXT", nullable: false)
- },
- constraints: table =>
- {
- table.PrimaryKey("PK_DefaultCollectionSemaphore", x => x.OrganizationUserId);
- table.ForeignKey(
- name: "FK_DefaultCollectionSemaphore_OrganizationUser_OrganizationUserId",
- column: x => x.OrganizationUserId,
- principalTable: "OrganizationUser",
- principalColumn: "Id",
- onDelete: ReferentialAction.Cascade);
- });
- }
+ migrationBuilder.CreateTable(
+ name: "DefaultCollectionSemaphore",
+ columns: table => new
+ {
+ OrganizationUserId = table.Column(type: "TEXT", nullable: false),
+ CreationDate = table.Column(type: "TEXT", nullable: false)
+ },
+ constraints: table =>
+ {
+ table.PrimaryKey("PK_DefaultCollectionSemaphore", x => x.OrganizationUserId);
+ table.ForeignKey(
+ name: "FK_DefaultCollectionSemaphore_OrganizationUser_OrganizationUserId",
+ column: x => x.OrganizationUserId,
+ principalTable: "OrganizationUser",
+ principalColumn: "Id",
+ onDelete: ReferentialAction.Cascade);
+ });
+ }
- ///
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropTable(
- name: "DefaultCollectionSemaphore");
- }
+ ///
+ protected override void Down(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.DropTable(
+ name: "DefaultCollectionSemaphore");
}
}