mirror of
https://github.com/bitwarden/server.git
synced 2024-12-03 14:03:33 +01:00
25 lines
620 B
C#
25 lines
620 B
C#
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace Bit.MySqlMigrations.Migrations;
|
|||
|
|
|||
|
public partial class PasswordlessAuthRequestAddApprovedColumn : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.AddColumn<bool>(
|
|||
|
name: "Approved",
|
|||
|
table: "AuthRequest",
|
|||
|
type: "tinyint(1)",
|
|||
|
nullable: true);
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.DropColumn(
|
|||
|
name: "Approved",
|
|||
|
table: "AuthRequest");
|
|||
|
}
|
|||
|
}
|