- Timestamp:
- 02/08/21 16:39:25 (4 years ago)
- Branches:
- master
- Children:
- 8eb1e21, dae4cde
- Parents:
- 0a694bb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
FarmatikoData/Migrations/FarmatikoDataContextModelSnapshot.cs
r0a694bb re0cdea2 205 205 .HasColumnType("text"); 206 206 207 b.Property<int?>("PharmacyHeadId") 208 .HasColumnType("integer"); 209 210 b.Property<int>("PheadId") 207 b.Property<int?>("PheadId") 211 208 .HasColumnType("integer"); 212 209 … … 216 213 b.HasKey("Id"); 217 214 218 b.HasIndex("Ph armacyHeadId");215 b.HasIndex("PheadId"); 219 216 220 217 b.ToTable("Pharmacies"); … … 300 297 .HasColumnType("timestamp without time zone"); 301 298 302 b.Property<int >("HeadId")303 .HasColumnType("integer"); 304 305 b.Property<int >("PharmacyId")299 b.Property<int?>("HeadId") 300 .HasColumnType("integer"); 301 302 b.Property<int?>("PharmacyId") 306 303 .HasColumnType("integer"); 307 304 … … 361 358 b.HasOne("FarmatikoData.Models.PharmacyHead", "PharmacyHead") 362 359 .WithMany("Pharmacies") 363 .HasForeignKey("Ph armacyHeadId");360 .HasForeignKey("PheadId"); 364 361 }); 365 362 … … 390 387 b.HasOne("FarmatikoData.Models.PharmacyHead", "Head") 391 388 .WithMany() 392 .HasForeignKey("HeadId") 393 .OnDelete(DeleteBehavior.Cascade) 394 .IsRequired(); 389 .HasForeignKey("HeadId"); 395 390 396 391 b.HasOne("FarmatikoData.Models.Pharmacy", "Pharmacy") 397 392 .WithMany() 398 .HasForeignKey("PharmacyId") 399 .OnDelete(DeleteBehavior.Cascade) 400 .IsRequired(); 393 .HasForeignKey("PharmacyId"); 401 394 }); 402 395 #pragma warning restore 612, 618
Note:
See TracChangeset
for help on using the changeset viewer.