using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace ZB.MOM.WW.ScadaBridge.ConfigurationDatabase.Migrations
{
    /// <inheritdoc />
    public partial class ResyncLdapGroupMappingSeed : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.InsertData(
                table: "LdapGroupMappings",
                columns: new[] { "Id", "LdapGroupName", "Role" },
                values: new object[] { 5, "SCADA-Viewers", "Viewer" });
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DeleteData(
                table: "LdapGroupMappings",
                keyColumn: "Id",
                keyValue: 5);
        }
    }
}
