Skip to content

Commit f0060c4

Browse files
committed
sample data - detete Pricing_CartRuleUsage on reset
1 parent c6077c2 commit f0060c4

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/Modules/SimplCommerce.Module.SampleData/SampleContent/ResetToSampleData.sql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ DELETE FROM [dbo].[Shipments_ShipmentItem]
1212
GO
1313
DELETE FROM [dbo].[Shipments_Shipment]
1414
GO
15+
DELETE FROM [dbo].[Pricing_CartRuleUsage]
16+
GO
1517
DELETE FROM [dbo].[Orders_OrderItem]
1618
GO
1719
DELETE FROM [dbo].[Orders_Order]

src/Modules/SimplCommerce.Module.SampleData/SampleContent/ResetToSampleData_Postgres.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ DELETE FROM "ShoppingCart_Cart";
55
DELETE FROM "Payments_Payment";
66
DELETE FROM "Shipments_ShipmentItem";
77
DELETE FROM "Shipments_Shipment";
8+
DELETE FROM "Pricing_CartRuleUsage";
89
DELETE FROM "Orders_OrderItem";
910
DELETE FROM "Orders_Order";
1011
DELETE FROM "Inventory_StockHistory";

0 commit comments

Comments
 (0)