1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-17 21:01:26 +01:00
bitwarden-server/util/SqliteMigrations/Migrations/20241219035748_AlterUser_AddVerifyDevice.cs
2024-12-19 09:04:14 -08:00

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");
}
}