using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Marco.Pms.DataAccess.Migrations { /// public partial class NoNavigationMigration : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { //migrationBuilder.AddColumn( // name: "RoleId", // table: "Employees", // type: "char(36)", // nullable: false, // defaultValue: new Guid("00000000-0000-0000-0000-000000000000"), // collation: "ascii_general_ci"); migrationBuilder.UpdateData( table: "Modules", keyColumn: "Id", keyValue: 1, column: "Key", value: "b29e3352-d83f-42eb-9c57-6e2cbf1b7c9b"); migrationBuilder.UpdateData( table: "Modules", keyColumn: "Id", keyValue: 2, column: "Key", value: "d522bcb3-6965-4c2f-be14-dd18b3181a34"); migrationBuilder.UpdateData( table: "Modules", keyColumn: "Id", keyValue: 3, column: "Key", value: "77302f42-93ec-49eb-9e05-80b80939639a"); } /// protected override void Down(MigrationBuilder migrationBuilder) { //migrationBuilder.DropColumn( // name: "RoleId", // table: "Employees"); migrationBuilder.UpdateData( table: "Modules", keyColumn: "Id", keyValue: 1, column: "Key", value: "03f97e79-e7ff-412b-91b4-19b71325f00c"); migrationBuilder.UpdateData( table: "Modules", keyColumn: "Id", keyValue: 2, column: "Key", value: "2351d591-bdd5-4eb5-a375-125c8cfdcf29"); migrationBuilder.UpdateData( table: "Modules", keyColumn: "Id", keyValue: 3, column: "Key", value: "bedbed6b-8ea5-4bd2-a37c-d5454d0dd280"); } } }