Changeset e42f61a for FarmatikoData/Migrations
- Timestamp:
- 07/29/20 13:21:48 (4 years ago)
- Branches:
- master
- Children:
- de18858
- Parents:
- ef1219a
- Location:
- FarmatikoData/Migrations
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
FarmatikoData/Migrations/20200722131856_Initial migration.cs
ref1219a re42f61a 24 24 Phone = table.Column<string>(nullable: true) 25 25 }, 26 constraints: table => 26 constraints: table => 27 27 { 28 28 table.PrimaryKey("PK_HealthFacilities", x => x.Id); -
FarmatikoData/Migrations/FarmatikoDataContextModelSnapshot.cs
ref1219a re42f61a 34 34 .HasColumnType("timestamp without time zone"); 35 35 36 b.Property<DateTime >("DeletedOn")36 b.Property<DateTime?>("DeletedOn") 37 37 .HasColumnType("timestamp without time zone"); 38 38 … … 74 74 .HasColumnType("timestamp without time zone"); 75 75 76 b.Property<DateTime >("DeletedOn")76 b.Property<DateTime?>("DeletedOn") 77 77 .HasColumnType("timestamp without time zone"); 78 78 … … 104 104 .HasColumnType("timestamp without time zone"); 105 105 106 b.Property<DateTime >("DeletedOn")106 b.Property<DateTime?>("DeletedOn") 107 107 .HasColumnType("timestamp without time zone"); 108 108 … … 112 112 b.Property<string>("Manufacturer") 113 113 .HasColumnType("text"); 114 115 b.Property<int?>("MedicineListId")116 .HasColumnType("integer");117 114 118 115 b.Property<string>("Name") … … 133 130 b.HasKey("Id"); 134 131 135 b.HasIndex("MedicineListId");136 137 132 b.ToTable("Medicines"); 138 133 }); … … 148 143 .HasColumnType("timestamp without time zone"); 149 144 150 b.Property<DateTime >("DeletedOn")145 b.Property<DateTime?>("DeletedOn") 151 146 .HasColumnType("timestamp without time zone"); 152 147 … … 154 149 .HasColumnType("boolean"); 155 150 156 b.Property<int?>("Medicine sId")151 b.Property<int?>("MedicineId") 157 152 .HasColumnType("integer"); 158 153 … … 162 157 b.HasKey("Id"); 163 158 164 b.HasIndex("Medicine sId");159 b.HasIndex("MedicineId"); 165 160 166 161 b.HasIndex("PharmacyHeadId"); … … 176 171 .HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn); 177 172 178 b.Property< int>("ActiveGlobal")179 .HasColumnType(" integer");173 b.Property<long>("ActiveGlobal") 174 .HasColumnType("bigint"); 180 175 181 176 b.Property<int>("ActiveMK") … … 185 180 .HasColumnType("timestamp without time zone"); 186 181 187 b.Property< int>("DeathsGlobal")188 .HasColumnType(" integer");182 b.Property<long>("DeathsGlobal") 183 .HasColumnType("bigint"); 189 184 190 185 b.Property<int>("DeathsMK") 191 186 .HasColumnType("integer"); 192 187 193 b.Property<DateTime >("DeletedOn")188 b.Property<DateTime?>("DeletedOn") 194 189 .HasColumnType("timestamp without time zone"); 195 190 … … 200 195 .HasColumnType("integer"); 201 196 202 b.Property< int>("TotalGlobal")203 .HasColumnType(" integer");197 b.Property<long>("TotalGlobal") 198 .HasColumnType("bigint"); 204 199 205 200 b.Property<int>("TotalMK") … … 224 219 .HasColumnType("timestamp without time zone"); 225 220 226 b.Property<DateTime >("DeletedOn")221 b.Property<DateTime?>("DeletedOn") 227 222 .HasColumnType("timestamp without time zone"); 228 223 … … 256 251 .HasColumnType("timestamp without time zone"); 257 252 258 b.Property<DateTime >("DeletedOn")253 b.Property<DateTime?>("DeletedOn") 259 254 .HasColumnType("timestamp without time zone"); 260 255 … … 292 287 }); 293 288 294 modelBuilder.Entity("FarmatikoData.Models.Medicine", b =>295 {296 b.HasOne("FarmatikoData.Models.MedicineList", null)297 .WithMany("MedicinesList")298 .HasForeignKey("MedicineListId");299 });300 301 289 modelBuilder.Entity("FarmatikoData.Models.MedicineList", b => 302 290 { 303 b.HasOne("FarmatikoData.Models.Medicine", "Medicine s")291 b.HasOne("FarmatikoData.Models.Medicine", "Medicine") 304 292 .WithMany() 305 .HasForeignKey("Medicine sId");293 .HasForeignKey("MedicineId"); 306 294 307 295 b.HasOne("FarmatikoData.Models.PharmacyHead", null)
Note:
See TracChangeset
for help on using the changeset viewer.