- Timestamp:
- 11/05/20 07:36:29 (4 years ago)
- Branches:
- master
- Children:
- ad60966
- Parents:
- d23bf72
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
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(
Note:
See TracChangeset
for help on using the changeset viewer.