1
0
mirror of https://github.com/bitwarden/server synced 2026-01-14 14:33:51 +00:00

dotnet format

This commit is contained in:
John Harrington
2025-12-17 12:18:18 -07:00
parent 68b6cadf5a
commit 25b0ed6832
3 changed files with 51 additions and 54 deletions

View File

@@ -2,27 +2,26 @@
#nullable disable
namespace Bit.MySqlMigrations.Migrations
namespace Bit.MySqlMigrations.Migrations;
/// <inheritdoc />
public partial class AddAuthTypeToSend : Migration
{
/// <inheritdoc />
public partial class AddAuthTypeToSend : Migration
protected override void Up(MigrationBuilder migrationBuilder)
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<byte>(
name: "AuthType",
table: "Send",
type: "tinyint unsigned",
nullable: true);
}
migrationBuilder.AddColumn<byte>(
name: "AuthType",
table: "Send",
type: "tinyint unsigned",
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "AuthType",
table: "Send");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "AuthType",
table: "Send");
}
}

View File

@@ -2,27 +2,26 @@
#nullable disable
namespace Bit.PostgresMigrations.Migrations
namespace Bit.PostgresMigrations.Migrations;
/// <inheritdoc />
public partial class AddAuthTypeToSend : Migration
{
/// <inheritdoc />
public partial class AddAuthTypeToSend : Migration
protected override void Up(MigrationBuilder migrationBuilder)
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<byte>(
name: "AuthType",
table: "Send",
type: "smallint",
nullable: true);
}
migrationBuilder.AddColumn<byte>(
name: "AuthType",
table: "Send",
type: "smallint",
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "AuthType",
table: "Send");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "AuthType",
table: "Send");
}
}

View File

@@ -2,27 +2,26 @@
#nullable disable
namespace Bit.SqliteMigrations.Migrations
namespace Bit.SqliteMigrations.Migrations;
/// <inheritdoc />
public partial class AddAuthTypeToSend : Migration
{
/// <inheritdoc />
public partial class AddAuthTypeToSend : Migration
protected override void Up(MigrationBuilder migrationBuilder)
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<byte>(
name: "AuthType",
table: "Send",
type: "INTEGER",
nullable: true);
}
migrationBuilder.AddColumn<byte>(
name: "AuthType",
table: "Send",
type: "INTEGER",
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "AuthType",
table: "Send");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "AuthType",
table: "Send");
}
}