- Timestamp:
- 02/07/21 16:25:56 (4 years ago)
- Branches:
- master
- Children:
- e0cdea2
- Parents:
- ac51326
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
FarmatikoData/Migrations/20210205174704_Initial-Migration.Designer.cs
rac51326 r0a694bb 11 11 { 12 12 [DbContext(typeof(FarmatikoDataContext))] 13 [Migration("20210 124191844_InitialMigration")]13 [Migration("20210205174704_Initial-Migration")] 14 14 partial class InitialMigration 15 15 { … … 101 101 .ValueGeneratedOnAdd() 102 102 .HasColumnType("integer") 103 .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1', '1', '', '', 'False', '1'")104 103 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn); 105 104 … … 188 187 .ValueGeneratedOnAdd() 189 188 .HasColumnType("integer") 190 .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1', '1', '', '', 'False', '1'")191 189 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn); 192 190 … … 230 228 .ValueGeneratedOnAdd() 231 229 .HasColumnType("integer") 232 .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1', '1', '', '', 'False', '1'")233 230 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn); 234 231 … … 251 248 .HasColumnType("text"); 252 249 253 b.Property<int ?>("UserId")254 .HasColumnType("integer"); 255 256 b.HasKey("Id"); 257 258 b.HasIndex("UserI d");250 b.Property<int>("UserID") 251 .HasColumnType("integer"); 252 253 b.HasKey("Id"); 254 255 b.HasIndex("UserID"); 259 256 260 257 b.ToTable("PharmacyHeads"); … … 266 263 .ValueGeneratedOnAdd() 267 264 .HasColumnType("integer") 268 .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1', '1', '', '', 'False', '1'")269 265 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn); 270 266 … … 298 294 .ValueGeneratedOnAdd() 299 295 .HasColumnType("integer") 300 .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1', '1', '', '', 'False', '1'")301 296 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn); 302 297 … … 375 370 b.HasOne("FarmatikoData.Models.User", "User") 376 371 .WithMany() 377 .HasForeignKey("UserId"); 372 .HasForeignKey("UserID") 373 .OnDelete(DeleteBehavior.Cascade) 374 .IsRequired(); 378 375 }); 379 376
Note:
See TracChangeset
for help on using the changeset viewer.