- Timestamp:
- 11/16/20 03:55:10 (4 years ago)
- Branches:
- master
- Children:
- db484c9
- Parents:
- 8b13eb2
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
FarmatikoData/Migrations/20201115222819_InitialMigration.Designer.cs
r8b13eb2 r8e74e2f 11 11 { 12 12 [DbContext(typeof(FarmatikoDataContext))] 13 [Migration("2020111 1183247_InitialMigration")]13 [Migration("20201115222819_InitialMigration")] 14 14 partial class InitialMigration 15 15 { … … 18 18 #pragma warning disable 612, 618 19 19 modelBuilder 20 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy. IdentityByDefaultColumn)21 .HasAnnotation("ProductVersion", "3.1. 6")20 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn) 21 .HasAnnotation("ProductVersion", "3.1.10") 22 22 .HasAnnotation("Relational:MaxIdentifierLength", 63); 23 23 … … 27 27 .ValueGeneratedOnAdd() 28 28 .HasColumnType("integer") 29 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy. IdentityByDefaultColumn);29 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn); 30 30 31 31 b.Property<string>("Address") … … 67 67 .ValueGeneratedOnAdd() 68 68 .HasColumnType("integer") 69 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy. IdentityByDefaultColumn);69 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn); 70 70 71 71 b.Property<string>("Branch") … … 101 101 .ValueGeneratedOnAdd() 102 102 .HasColumnType("integer") 103 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn); 103 .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1', '1', '', '', 'False', '1'") 104 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn); 104 105 105 106 b.Property<DateTime>("CreatedOn") … … 149 150 .ValueGeneratedOnAdd() 150 151 .HasColumnType("integer") 151 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy. IdentityByDefaultColumn);152 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn); 152 153 153 154 b.Property<long>("ActiveGlobal") … … 192 193 .ValueGeneratedOnAdd() 193 194 .HasColumnType("integer") 194 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn); 195 .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1', '1', '', '', 'False', '1'") 196 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn); 195 197 196 198 b.Property<string>("Address") … … 230 232 .ValueGeneratedOnAdd() 231 233 .HasColumnType("integer") 232 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn); 234 .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1', '1', '', '', 'False', '1'") 235 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn); 233 236 234 237 b.Property<DateTime>("CreatedOn") … … 270 273 271 274 b.Property<int>("Id") 272 .HasColumnType("integer"); 275 .HasColumnType("integer") 276 .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1', '1', '', '', 'False', '1'"); 273 277 274 278 b.HasKey("PheadId", "MedicineId"); … … 284 288 .ValueGeneratedOnAdd() 285 289 .HasColumnType("integer") 286 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn); 290 .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1', '1', '', '', 'False', '1'") 291 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn); 287 292 288 293 b.Property<DateTime>("CreatedOn") … … 312 317 .ValueGeneratedOnAdd() 313 318 .HasColumnType("integer") 314 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn); 319 .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1', '1', '', '', 'False', '1'") 320 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn); 315 321 316 322 b.Property<DateTime>("CreatedOn") … … 321 327 322 328 b.Property<string>("Email") 323 .HasColumnType("text"); 324 325 b.Property<string>("Name") 329 .IsRequired() 330 .HasColumnType("text"); 331 332 b.Property<string>("Name") 333 .IsRequired() 326 334 .HasColumnType("text"); 327 335 328 336 b.Property<string>("Password") 337 .IsRequired() 329 338 .HasColumnType("text"); 330 339
Note:
See TracChangeset
for help on using the changeset viewer.