You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
620 B
24 lines
620 B
using Microsoft.EntityFrameworkCore.Migrations; |
|
|
|
#nullable disable |
|
|
|
namespace Bit.PostgresMigrations.Migrations; |
|
|
|
public partial class PasswordlessAuthRequestAddApprovedColumn : Migration |
|
{ |
|
protected override void Up(MigrationBuilder migrationBuilder) |
|
{ |
|
migrationBuilder.AddColumn<bool>( |
|
name: "Approved", |
|
table: "AuthRequest", |
|
type: "boolean", |
|
nullable: true); |
|
} |
|
|
|
protected override void Down(MigrationBuilder migrationBuilder) |
|
{ |
|
migrationBuilder.DropColumn( |
|
name: "Approved", |
|
table: "AuthRequest"); |
|
} |
|
}
|
|
|