using System; using Microsoft.EntityFrameworkCore.Migrations; namespace IOL.Fagprove.Migrations { public partial class SecondMigration : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DeleteData( table: "Users", keyColumn: "Id", keyValue: new Guid("d2512ef5-f25e-486d-a94d-1ea43c732195")); migrationBuilder.DeleteData( table: "Users", keyColumn: "Id", keyValue: new Guid("e166655c-cbdc-4128-8e0e-9aeb9c52093d")); migrationBuilder.InsertData( table: "Users", columns: new[] { "Id", "CreatedBy", "CreatedUtc", "Email", "ModifiedBy", "ModifiedUtc", "Name", "Password", "Role" }, values: new object[] { new Guid("d2c3dc54-2fda-413a-abff-f632f88afe34"), null, new DateTime(2020, 2, 7, 11, 48, 5, 107, DateTimeKind.Utc).AddTicks(9470), "ivar@protektit.no", null, null, "Ivar Løvlie Administrator", "9F267A5EC952ABC97CC5B768AEF42337", 1 }); migrationBuilder.InsertData( table: "Users", columns: new[] { "Id", "CreatedBy", "CreatedUtc", "Email", "ModifiedBy", "ModifiedUtc", "Name", "Password", "Role" }, values: new object[] { new Guid("fd0f2341-00fa-4906-8a1a-ba110df9f9a4"), null, new DateTime(2020, 2, 7, 11, 48, 5, 114, DateTimeKind.Utc).AddTicks(1410), "ivarino@protektit.no", null, null, "Ivar Løvlie Standard", "9F267A5EC952ABC97CC5B768AEF42337", 0 }); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DeleteData( table: "Users", keyColumn: "Id", keyValue: new Guid("d2c3dc54-2fda-413a-abff-f632f88afe34")); migrationBuilder.DeleteData( table: "Users", keyColumn: "Id", keyValue: new Guid("fd0f2341-00fa-4906-8a1a-ba110df9f9a4")); migrationBuilder.InsertData( table: "Users", columns: new[] { "Id", "CreatedBy", "CreatedUtc", "Email", "ModifiedBy", "ModifiedUtc", "Name", "Password", "Role" }, values: new object[] { new Guid("d2512ef5-f25e-486d-a94d-1ea43c732195"), null, new DateTime(2020, 2, 5, 23, 30, 13, 316, DateTimeKind.Utc).AddTicks(6060), "ivar@protektit.no", null, null, "Ivar Løvlie Administrator", "9F267A5EC952ABC97CC5B768AEF42337", 1 }); migrationBuilder.InsertData( table: "Users", columns: new[] { "Id", "CreatedBy", "CreatedUtc", "Email", "ModifiedBy", "ModifiedUtc", "Name", "Password", "Role" }, values: new object[] { new Guid("e166655c-cbdc-4128-8e0e-9aeb9c52093d"), null, new DateTime(2020, 2, 5, 23, 30, 13, 320, DateTimeKind.Utc).AddTicks(310), "ivarino@protektit.no", null, null, "Ivar Løvlie Standard", "9F267A5EC952ABC97CC5B768AEF42337", 0 }); } } }