mirror of
https://github.com/bitwarden/server.git
synced 2024-12-13 15:36:45 +01:00
25 lines
587 B
C#
25 lines
587 B
C#
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace Bit.PostgresMigrations.Migrations;
|
|||
|
|
|||
|
public partial class EventsDomainName : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.AddColumn<string>(
|
|||
|
name: "DomainName",
|
|||
|
table: "Event",
|
|||
|
type: "text",
|
|||
|
nullable: true);
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.DropColumn(
|
|||
|
name: "DomainName",
|
|||
|
table: "Event");
|
|||
|
}
|
|||
|
}
|