diff --git a/util/MySqlMigrations/Migrations/20250327142058_AddUseOrganizationDomains.cs b/util/MySqlMigrations/Migrations/20250327142058_AddUseOrganizationDomains.cs index 06c1db841d..ea467e49c5 100644 --- a/util/MySqlMigrations/Migrations/20250327142058_AddUseOrganizationDomains.cs +++ b/util/MySqlMigrations/Migrations/20250327142058_AddUseOrganizationDomains.cs @@ -2,28 +2,27 @@ #nullable disable -namespace Bit.MySqlMigrations.Migrations +namespace Bit.MySqlMigrations.Migrations; + +/// +public partial class AddUseOrganizationDomains : Migration { /// - public partial class AddUseOrganizationDomains : Migration + protected override void Up(MigrationBuilder migrationBuilder) { - /// - protected override void Up(MigrationBuilder migrationBuilder) - { - migrationBuilder.AddColumn( - name: "UseOrganizationDomains", - table: "Organization", - type: "tinyint(1)", - nullable: false, - defaultValue: false); - } + migrationBuilder.AddColumn( + name: "UseOrganizationDomains", + table: "Organization", + type: "tinyint(1)", + nullable: false, + defaultValue: false); + } - /// - protected override void Down(MigrationBuilder migrationBuilder) - { - migrationBuilder.DropColumn( - name: "UseOrganizationDomains", - table: "Organization"); - } + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropColumn( + name: "UseOrganizationDomains", + table: "Organization"); } } diff --git a/util/PostgresMigrations/Migrations/20250327142102_AddUseOrganizationDomains.cs b/util/PostgresMigrations/Migrations/20250327142102_AddUseOrganizationDomains.cs index bbc779f4b5..7168746709 100644 --- a/util/PostgresMigrations/Migrations/20250327142102_AddUseOrganizationDomains.cs +++ b/util/PostgresMigrations/Migrations/20250327142102_AddUseOrganizationDomains.cs @@ -2,28 +2,27 @@ #nullable disable -namespace Bit.PostgresMigrations.Migrations +namespace Bit.PostgresMigrations.Migrations; + +/// +public partial class AddUseOrganizationDomains : Migration { /// - public partial class AddUseOrganizationDomains : Migration + protected override void Up(MigrationBuilder migrationBuilder) { - /// - protected override void Up(MigrationBuilder migrationBuilder) - { - migrationBuilder.AddColumn( - name: "UseOrganizationDomains", - table: "Organization", - type: "boolean", - nullable: false, - defaultValue: false); - } + migrationBuilder.AddColumn( + name: "UseOrganizationDomains", + table: "Organization", + type: "boolean", + nullable: false, + defaultValue: false); + } - /// - protected override void Down(MigrationBuilder migrationBuilder) - { - migrationBuilder.DropColumn( - name: "UseOrganizationDomains", - table: "Organization"); - } + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropColumn( + name: "UseOrganizationDomains", + table: "Organization"); } } diff --git a/util/SqliteMigrations/Migrations/20250327142053_AddUseOrganizationDomains.cs b/util/SqliteMigrations/Migrations/20250327142053_AddUseOrganizationDomains.cs index ed18b27fb3..bf5575c67e 100644 --- a/util/SqliteMigrations/Migrations/20250327142053_AddUseOrganizationDomains.cs +++ b/util/SqliteMigrations/Migrations/20250327142053_AddUseOrganizationDomains.cs @@ -2,28 +2,27 @@ #nullable disable -namespace Bit.SqliteMigrations.Migrations +namespace Bit.SqliteMigrations.Migrations; + +/// +public partial class AddUseOrganizationDomains : Migration { /// - public partial class AddUseOrganizationDomains : Migration + protected override void Up(MigrationBuilder migrationBuilder) { - /// - protected override void Up(MigrationBuilder migrationBuilder) - { - migrationBuilder.AddColumn( - name: "UseOrganizationDomains", - table: "Organization", - type: "INTEGER", - nullable: false, - defaultValue: false); - } + migrationBuilder.AddColumn( + name: "UseOrganizationDomains", + table: "Organization", + type: "INTEGER", + nullable: false, + defaultValue: false); + } - /// - protected override void Down(MigrationBuilder migrationBuilder) - { - migrationBuilder.DropColumn( - name: "UseOrganizationDomains", - table: "Organization"); - } + /// + protected override void Down(MigrationBuilder migrationBuilder) + { + migrationBuilder.DropColumn( + name: "UseOrganizationDomains", + table: "Organization"); } }