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