From 14f4d824b03a0ef6ffdb1fe8b80a67f335cb4f75 Mon Sep 17 00:00:00 2001 From: ivarlovlie Date: Fri, 19 Aug 2022 22:39:04 +0200 Subject: feat: Remove all code related to github login --- server/src/Migrations/AppDbContextModelSnapshot.cs | 39 +--------------------- 1 file changed, 1 insertion(+), 38 deletions(-) (limited to 'server/src/Migrations/AppDbContextModelSnapshot.cs') diff --git a/server/src/Migrations/AppDbContextModelSnapshot.cs b/server/src/Migrations/AppDbContextModelSnapshot.cs index 128d3b6..cc4bf72 100644 --- a/server/src/Migrations/AppDbContextModelSnapshot.cs +++ b/server/src/Migrations/AppDbContextModelSnapshot.cs @@ -17,7 +17,7 @@ namespace IOL.GreatOffice.Api.Migrations { #pragma warning disable 612, 618 modelBuilder - .HasAnnotation("ProductVersion", "6.0.6") + .HasAnnotation("ProductVersion", "6.0.7") .HasAnnotation("Relational:MaxIdentifierLength", 63); NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); @@ -98,33 +98,6 @@ namespace IOL.GreatOffice.Api.Migrations b.ToTable("forgot_password_requests", (string)null); }); - modelBuilder.Entity("IOL.GreatOffice.Api.Data.Database.GithubUserMapping", b => - { - b.Property("GithubId") - .HasColumnType("text") - .HasColumnName("github_id"); - - b.Property("Email") - .HasColumnType("text") - .HasColumnName("email"); - - b.Property("RefreshToken") - .HasColumnType("text") - .HasColumnName("refresh_token"); - - b.Property("UserId") - .HasColumnType("uuid") - .HasColumnName("user_id"); - - b.HasKey("GithubId") - .HasName("pk_github_user_mappings"); - - b.HasIndex("UserId") - .HasDatabaseName("ix_github_user_mappings_user_id"); - - b.ToTable("github_user_mappings", (string)null); - }); - modelBuilder.Entity("IOL.GreatOffice.Api.Data.Database.Tenant", b => { b.Property("Id") @@ -476,16 +449,6 @@ namespace IOL.GreatOffice.Api.Migrations b.Navigation("User"); }); - modelBuilder.Entity("IOL.GreatOffice.Api.Data.Database.GithubUserMapping", b => - { - b.HasOne("IOL.GreatOffice.Api.Data.Database.User", "User") - .WithMany() - .HasForeignKey("UserId") - .HasConstraintName("fk_github_user_mappings_users_user_id"); - - b.Navigation("User"); - }); - modelBuilder.Entity("IOL.GreatOffice.Api.Data.Database.TimeEntry", b => { b.HasOne("IOL.GreatOffice.Api.Data.Database.TimeCategory", "Category") -- cgit v1.3