mirror of
https://github.com/bitwarden/server.git
synced 2024-11-29 13:25:17 +01:00
26 lines
640 B
C#
26 lines
640 B
C#
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace Bit.MySqlMigrations.Migrations;
|
|||
|
|
|||
|
public partial class EventsDomainName : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.AddColumn<string>(
|
|||
|
name: "DomainName",
|
|||
|
table: "Event",
|
|||
|
type: "longtext",
|
|||
|
nullable: true)
|
|||
|
.Annotation("MySql:CharSet", "utf8mb4");
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.DropColumn(
|
|||
|
name: "DomainName",
|
|||
|
table: "Event");
|
|||
|
}
|
|||
|
}
|