- Timestamp:
- 02/07/21 16:25:56 (4 years ago)
- Branches:
- master
- Children:
- e0cdea2
- Parents:
- ac51326
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
FarmatikoData/Migrations/FarmatikoDataContextModelSnapshot.cs
rac51326 r0a694bb 99 99 .ValueGeneratedOnAdd() 100 100 .HasColumnType("integer") 101 .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1', '1', '', '', 'False', '1'")102 101 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn); 103 102 … … 186 185 .ValueGeneratedOnAdd() 187 186 .HasColumnType("integer") 188 .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1', '1', '', '', 'False', '1'")189 187 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn); 190 188 … … 228 226 .ValueGeneratedOnAdd() 229 227 .HasColumnType("integer") 230 .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1', '1', '', '', 'False', '1'")231 228 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn); 232 229 … … 249 246 .HasColumnType("text"); 250 247 251 b.Property<int ?>("UserId")252 .HasColumnType("integer"); 253 254 b.HasKey("Id"); 255 256 b.HasIndex("UserI d");248 b.Property<int>("UserID") 249 .HasColumnType("integer"); 250 251 b.HasKey("Id"); 252 253 b.HasIndex("UserID"); 257 254 258 255 b.ToTable("PharmacyHeads"); … … 264 261 .ValueGeneratedOnAdd() 265 262 .HasColumnType("integer") 266 .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1', '1', '', '', 'False', '1'")267 263 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn); 268 264 … … 296 292 .ValueGeneratedOnAdd() 297 293 .HasColumnType("integer") 298 .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1', '1', '', '', 'False', '1'")299 294 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn); 300 295 … … 373 368 b.HasOne("FarmatikoData.Models.User", "User") 374 369 .WithMany() 375 .HasForeignKey("UserId"); 370 .HasForeignKey("UserID") 371 .OnDelete(DeleteBehavior.Cascade) 372 .IsRequired(); 376 373 }); 377 374
Note:
See TracChangeset
for help on using the changeset viewer.