mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
137c87e86b
- React to entity namespace changes - Add missing migration for MySql
26 lines
660 B
C#
26 lines
660 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace Bit.MySqlMigrations.Migrations;
|
|
|
|
public partial class EFUpdate : Migration
|
|
{
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.DropColumn(
|
|
name: "RequestFingerprint",
|
|
table: "AuthRequest");
|
|
}
|
|
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.AddColumn<string>(
|
|
name: "RequestFingerprint",
|
|
table: "AuthRequest",
|
|
type: "longtext",
|
|
nullable: true)
|
|
.Annotation("MySql:CharSet", "utf8mb4");
|
|
}
|
|
}
|