Changeset afc9a9a for FarmatikoData/Migrations
- Timestamp:
- 11/05/20 07:36:29 (4 years ago)
- Branches:
- master
- Children:
- ad60966
- Parents:
- d23bf72
- Location:
- FarmatikoData/Migrations
- Files:
-
- 2 deleted
- 1 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
FarmatikoData/Migrations/20201105063549_InitialMigration.Designer.cs
rd23bf72 rafc9a9a 11 11 { 12 12 [DbContext(typeof(FarmatikoDataContext))] 13 [Migration("2020110 4230858_InitialMigration")]13 [Migration("20201105063549_InitialMigration")] 14 14 partial class InitialMigration 15 15 { … … 167 167 b.HasIndex("PharmacyHeadId"); 168 168 169 b.ToTable("MedicineList s");169 b.ToTable("MedicineList"); 170 170 }); 171 171 -
FarmatikoData/Migrations/20201105063549_InitialMigration.cs
rd23bf72 rafc9a9a 132 132 133 133 migrationBuilder.CreateTable( 134 name: "MedicineList s",134 name: "MedicineList", 135 135 columns: table => new 136 136 { … … 145 145 constraints: table => 146 146 { 147 table.PrimaryKey("PK_MedicineList s", x => x.Id);148 table.ForeignKey( 149 name: "FK_MedicineList s_Medicines_MedicineId",147 table.PrimaryKey("PK_MedicineList", x => x.Id); 148 table.ForeignKey( 149 name: "FK_MedicineList_Medicines_MedicineId", 150 150 column: x => x.MedicineId, 151 151 principalTable: "Medicines", … … 153 153 onDelete: ReferentialAction.Cascade); 154 154 table.ForeignKey( 155 name: "FK_MedicineList s_PharmacyHeads_PharmacyHeadId",155 name: "FK_MedicineList_PharmacyHeads_PharmacyHeadId", 156 156 column: x => x.PharmacyHeadId, 157 157 principalTable: "PharmacyHeads", … … 219 219 220 220 migrationBuilder.CreateIndex( 221 name: "IX_MedicineList s_MedicineId",222 table: "MedicineList s",221 name: "IX_MedicineList_MedicineId", 222 table: "MedicineList", 223 223 column: "MedicineId"); 224 224 225 225 migrationBuilder.CreateIndex( 226 name: "IX_MedicineList s_PharmacyHeadId",227 table: "MedicineList s",226 name: "IX_MedicineList_PharmacyHeadId", 227 table: "MedicineList", 228 228 column: "PharmacyHeadId"); 229 229 … … 250 250 251 251 migrationBuilder.DropTable( 252 name: "MedicineList s");252 name: "MedicineList"); 253 253 254 254 migrationBuilder.DropTable( -
FarmatikoData/Migrations/FarmatikoDataContextModelSnapshot.cs
rd23bf72 rafc9a9a 165 165 b.HasIndex("PharmacyHeadId"); 166 166 167 b.ToTable("MedicineList s");167 b.ToTable("MedicineList"); 168 168 }); 169 169
Note:
See TracChangeset
for help on using the changeset viewer.