Changeset b38c39c for iknow-api/Migrations/AppDbContextModelSnapshot.cs
- Timestamp:
- 10/27/25 21:50:02 (11 months ago)
- Branches:
- master
- Children:
- ff202cf
- Parents:
- cab02ad
- File:
-
- 1 edited
-
iknow-api/Migrations/AppDbContextModelSnapshot.cs (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
iknow-api/Migrations/AppDbContextModelSnapshot.cs
rcab02ad rb38c39c 51 51 b.HasKey("Id"); 52 52 53 b.HasIndex("UserId"); 53 b.HasIndex("UserId") 54 .IsUnique(); 54 55 55 56 b.ToTable("ContactInfo"); … … 75 76 b.HasKey("Id"); 76 77 77 b.HasIndex("UserId"); 78 b.HasIndex("UserId") 79 .IsUnique(); 78 80 79 81 b.ToTable("EnrollmentInfo"); … … 99 101 b.HasKey("Id"); 100 102 101 b.HasIndex("UserId"); 103 b.HasIndex("UserId") 104 .IsUnique(); 102 105 103 106 b.ToTable("HighSchool"); … … 144 147 { 145 148 b.HasOne("iknow_api.Models.User", "User") 146 .With Many()147 .HasForeignKey(" UserId")149 .WithOne("ContactInfo") 150 .HasForeignKey("iknow_api.Models.ContactInfo", "UserId") 148 151 .OnDelete(DeleteBehavior.Cascade) 149 152 .IsRequired(); … … 155 158 { 156 159 b.HasOne("iknow_api.Models.User", "User") 157 .With Many()158 .HasForeignKey(" UserId")160 .WithOne("EnrollmentInfo") 161 .HasForeignKey("iknow_api.Models.EnrollmentInfo", "UserId") 159 162 .OnDelete(DeleteBehavior.Cascade) 160 163 .IsRequired(); … … 166 169 { 167 170 b.HasOne("iknow_api.Models.User", "User") 168 .With Many()169 .HasForeignKey(" UserId")171 .WithOne("HighSchool") 172 .HasForeignKey("iknow_api.Models.HighSchool", "UserId") 170 173 .OnDelete(DeleteBehavior.Cascade) 171 174 .IsRequired(); … … 173 176 b.Navigation("User"); 174 177 }); 178 179 modelBuilder.Entity("iknow_api.Models.User", b => 180 { 181 b.Navigation("ContactInfo"); 182 183 b.Navigation("EnrollmentInfo"); 184 185 b.Navigation("HighSchool"); 186 }); 175 187 #pragma warning restore 612, 618 176 188 }
Note:
See TracChangeset
for help on using the changeset viewer.
