mirror of
https://github.com/bitwarden/server.git
synced 2025-01-17 21:01:26 +01:00
29 lines
697 B
C#
29 lines
697 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace Bit.SqliteMigrations.Migrations;
|
|
|
|
/// <inheritdoc />
|
|
public partial class AlterUser_AddVerifyDevice : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<bool>(
|
|
name: "VerifyDevices",
|
|
table: "User",
|
|
type: "INTEGER",
|
|
nullable: false,
|
|
defaultValue: true);
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "VerifyDevices",
|
|
table: "User");
|
|
}
|
|
}
|