- Timestamp:
- 11/16/20 03:55:10 (4 years ago)
- Branches:
- master
- Children:
- db484c9
- Parents:
- 8b13eb2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
FarmatikoData/Migrations/FarmatikoDataContextModelSnapshot.cs
r8b13eb2 r8e74e2f 16 16 #pragma warning disable 612, 618 17 17 modelBuilder 18 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy. IdentityByDefaultColumn)19 .HasAnnotation("ProductVersion", "3.1. 6")18 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn) 19 .HasAnnotation("ProductVersion", "3.1.10") 20 20 .HasAnnotation("Relational:MaxIdentifierLength", 63); 21 21 … … 25 25 .ValueGeneratedOnAdd() 26 26 .HasColumnType("integer") 27 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy. IdentityByDefaultColumn);27 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn); 28 28 29 29 b.Property<string>("Address") … … 65 65 .ValueGeneratedOnAdd() 66 66 .HasColumnType("integer") 67 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy. IdentityByDefaultColumn);67 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn); 68 68 69 69 b.Property<string>("Branch") … … 99 99 .ValueGeneratedOnAdd() 100 100 .HasColumnType("integer") 101 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn); 101 .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1', '1', '', '', 'False', '1'") 102 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn); 102 103 103 104 b.Property<DateTime>("CreatedOn") … … 147 148 .ValueGeneratedOnAdd() 148 149 .HasColumnType("integer") 149 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy. IdentityByDefaultColumn);150 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn); 150 151 151 152 b.Property<long>("ActiveGlobal") … … 190 191 .ValueGeneratedOnAdd() 191 192 .HasColumnType("integer") 192 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn); 193 .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1', '1', '', '', 'False', '1'") 194 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn); 193 195 194 196 b.Property<string>("Address") … … 228 230 .ValueGeneratedOnAdd() 229 231 .HasColumnType("integer") 230 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn); 232 .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1', '1', '', '', 'False', '1'") 233 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn); 231 234 232 235 b.Property<DateTime>("CreatedOn") … … 268 271 269 272 b.Property<int>("Id") 270 .HasColumnType("integer"); 273 .HasColumnType("integer") 274 .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1', '1', '', '', 'False', '1'"); 271 275 272 276 b.HasKey("PheadId", "MedicineId"); … … 282 286 .ValueGeneratedOnAdd() 283 287 .HasColumnType("integer") 284 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn); 288 .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1', '1', '', '', 'False', '1'") 289 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn); 285 290 286 291 b.Property<DateTime>("CreatedOn") … … 310 315 .ValueGeneratedOnAdd() 311 316 .HasColumnType("integer") 312 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn); 317 .HasAnnotation("Npgsql:IdentitySequenceOptions", "'1', '1', '', '', 'False', '1'") 318 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.SerialColumn); 313 319 314 320 b.Property<DateTime>("CreatedOn") … … 319 325 320 326 b.Property<string>("Email") 321 .HasColumnType("text"); 322 323 b.Property<string>("Name") 327 .IsRequired() 328 .HasColumnType("text"); 329 330 b.Property<string>("Name") 331 .IsRequired() 324 332 .HasColumnType("text"); 325 333 326 334 b.Property<string>("Password") 335 .IsRequired() 327 336 .HasColumnType("text"); 328 337
Note:
See TracChangeset
for help on using the changeset viewer.