Skip to content

Commit

Permalink
fix(migrations):some type of table id record convert to guid
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirRezaZahedi committed Sep 8, 2024
1 parent db73471 commit 2357897
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ protected override void Up(MigrationBuilder migrationBuilder)
migrationBuilder.InsertData(
table: "Users",
columns: new[] { "Id", "Email", "FirstName", "ImageURL", "LastName", "Password", "PhoneNumber", "RoleId", "Username" },
values: new object[] { new Guid("3420886b-a4d4-4701-8926-bb9bbe31db94"), "[email protected]", "admin", null, "admin", "jGl25bVBBBW96Qi9Te4V37Fnqchz/Eu4qB9vKrRIqRg=", "09131111111", 1, "admin" });
values: new object[] { new Guid("d8a83af5-1202-4307-b852-bd941a331dd0"), "[email protected]", "admin", null, "admin", "jGl25bVBBBW96Qi9Te4V37Fnqchz/Eu4qB9vKrRIqRg=", "09131111111", 1, "admin" });

migrationBuilder.CreateIndex(
name: "IX_EntityEdges_EntityIDSource",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
b.HasData(
new
{
Id = new Guid("3420886b-a4d4-4701-8926-bb9bbe31db94"),
Id = new Guid("d8a83af5-1202-4307-b852-bd941a331dd0"),
Email = "[email protected]",
FirstName = "admin",
LastName = "admin",
Expand Down

0 comments on commit 2357897

Please sign in to comment.