Skip to content

Commit 2fd9123

Browse files
committed
Add missing indexes
1 parent fa79560 commit 2fd9123

File tree

7 files changed

+24
-1
lines changed

7 files changed

+24
-1
lines changed

src/Apps/W1/Shopify/App/src/Customers/Tables/ShpfyCustomerAddress.Table.al

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ table 30106 "Shpfy Customer Address"
113113
{
114114
Clustered = true;
115115
}
116+
key(Key1; "Customer Id", Default)
117+
{
118+
}
116119
}
117120

118121
trigger OnInsert()

src/Apps/W1/Shopify/App/src/Inventory/Tables/ShpfyShopInventory.Table.al

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,8 @@ table 30112 "Shpfy Shop Inventory"
104104
{
105105
Clustered = true;
106106
}
107+
key(key1; "Variant Id")
108+
{
109+
}
107110
}
108111
}

src/Apps/W1/Shopify/App/src/Order Fulfillments/Tables/ShpfyFulFillmentOrderLine.Table.al

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,5 +76,8 @@ table 30144 "Shpfy FulFillment Order Line"
7676
{
7777
Clustered = true;
7878
}
79+
key(Key1; "Shopify Order Id", "Shopify Variant Id")
80+
{
81+
}
7982
}
8083
}

src/Apps/W1/Shopify/App/src/Order Fulfillments/Tables/ShpfyFulfillmentLine.Table.al

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,11 @@ table 30139 "Shpfy Fulfillment Line"
5858
{
5959
Clustered = true;
6060
}
61-
key(Indx001; "Fulfillment Id", "Is Gift Card") { }
61+
key(Indx001; "Fulfillment Id", "Is Gift Card")
62+
{
63+
}
64+
key(Indx002; "Order Id", "Is Gift Card")
65+
{
66+
}
6267
}
6368
}

src/Apps/W1/Shopify/App/src/Products/Tables/ShpfyProduct.Table.al

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,9 @@ table 30127 "Shpfy Product"
165165
{
166166
Clustered = true;
167167
}
168+
key(Key1; "Shop Code", "Item SystemId")
169+
{
170+
}
168171
}
169172

170173
trigger OnDelete()

src/Apps/W1/Shopify/App/src/Shipping/Tables/ShpfyOrderShippingCharges.Table.al

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ table 30130 "Shpfy Order Shipping Charges"
8282
{
8383
Clustered = true;
8484
}
85+
key(Key2; "Shopify Order Id")
86+
{
87+
}
8588
}
8689

8790
trigger OnDelete()

src/Apps/W1/Shopify/App/src/Transactions/Tables/ShpfyOrderTransaction.Table.al

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,9 @@ table 30133 "Shpfy Order Transaction"
259259
key(Idx003; Type)
260260
{
261261
}
262+
key(Idx004; "Shopify Order Id", Status)
263+
{
264+
}
262265
}
263266

264267
fieldgroups

0 commit comments

Comments
 (0)