mirror of
https://github.com/bitwarden/server.git
synced 2024-12-30 18:17:36 +01:00
25 lines
589 B
C#
25 lines
589 B
C#
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace Bit.PostgresMigrations.Migrations;
|
|||
|
|
|||
|
public partial class EventsSystemUser : Migration
|
|||
|
{
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.AddColumn<byte>(
|
|||
|
name: "SystemUser",
|
|||
|
table: "Event",
|
|||
|
type: "smallint",
|
|||
|
nullable: true);
|
|||
|
}
|
|||
|
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
migrationBuilder.DropColumn(
|
|||
|
name: "SystemUser",
|
|||
|
table: "Event");
|
|||
|
}
|
|||
|
}
|