mirror of
https://github.com/bitwarden/server
synced 2026-01-14 14:33:51 +00:00
dotnet format
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user