refactor(SQL): Staging tables and Calc stored procedures used for modular stored procedure archicture for scalability. Implemented for Product Catalogue. \n BREAKING CHANGE: BIT argument a_debug added to all but basic stored procedures for analysis of performance and results.

This commit is contained in:
2024-10-02 15:59:53 +01:00
parent 45ac0405b4
commit d0956ffb97
659 changed files with 31748 additions and 2679 deletions

View File

@@ -0,0 +1,30 @@
"filename", "language", "SQL", "comment", "blank", "total"
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\000_init_tables_authentication.sql", "SQL", -741, -1, -83, -825
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\000_init_tables_product.sql", "SQL", -1288, -94, -139, -1521
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\108_tbl_Shop_Recurrence_Interval.sql", "SQL", -15, 0, -6, -21
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\109_tbl_Shop_Recurrence_Interval_Audit.sql", "SQL", -17, 0, -6, -23
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\113.1_tbl_Shop_Product_Variation_Type_Link.sql", "SQL", -23, 0, -6, -29
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\113.2_tbl_Shop_Product_Variation_Type_Link_Audit.sql", "SQL", -18, 0, -6, -24
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\116_tbl_Shop_Product_Variation_Link.sql", "SQL", -23, -7, -6, -36
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\117.0_tbl_Shop_Product_Variation_Link_Audit.sql", "SQL", -18, 0, -6, -24
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\128_tbl_Shop_Product_Delivery_Region_Link.sql", "SQL", -27, 0, -5, -32
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\129_tbl_Shop_Product_Delivery_Region_Link_Audit.sql", "SQL", -18, 0, -5, -23
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\170_ish_tbl_ERP_Order.sql", "SQL", -14, 0, -6, -20
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\171_tbl_Shop_User_Order.sql", "SQL", -28, -6, -6, -40
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\172_tbl_Shop_User_Order_Audit.sql", "SQL", -17, -6, -5, -28
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\173_tbl_Shop_User_Order_Product_Link.sql", "SQL", -28, 0, -5, -33
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\174_tbl_Shop_User_Order_Product_Link_Audit.sql", "SQL", -17, 0, -6, -23
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\308_tri_Shop_Recurrence_Interval.sql", "SQL", -46, 0, -10, -56
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\313.1_tri_Shop_Product_Variation_Type_Link.sql", "SQL", -42, -10, -9, -61
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\316_tri_Shop_Product_Variation_Link.sql", "SQL", -42, -10, -9, -61
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\322_tri_Shop_Price.sql", "SQL", -50, -33, -11, -94
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\328_tri_Shop_Product_Delivery_Region_Link.sql", "SQL", -38, -10, -9, -57
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\371_tri_Shop_User_Order.sql", "SQL", -58, 0, -9, -67
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\373_tri_Shop_User_Order_Product_Link.sql", "SQL", -46, 0, -9, -55
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\7000_p_shop_get_many_role_permission.sql", "SQL", -82, -33, -17, -132
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\7000_p_shop_get_many_user_order.sql", "SQL", -188, -61, -37, -286
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\706_p_shop_get_product.sql", "SQL", -536, -68, -54, -658
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\9020_edit_permissions.sql", "SQL", -70, -4, -9, -83
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\dump.sql", "SQL", -5529, -2193, -514, -8236
"c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\dump2.sql", "SQL", -5529, -2193, -514, -8236
"Total", "-", -14548, -4729, -1507, -20784
1 filename language SQL comment blank total
2 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\000_init_tables_authentication.sql SQL -741 -1 -83 -825
3 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\000_init_tables_product.sql SQL -1288 -94 -139 -1521
4 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\108_tbl_Shop_Recurrence_Interval.sql SQL -15 0 -6 -21
5 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\109_tbl_Shop_Recurrence_Interval_Audit.sql SQL -17 0 -6 -23
6 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\113.1_tbl_Shop_Product_Variation_Type_Link.sql SQL -23 0 -6 -29
7 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\113.2_tbl_Shop_Product_Variation_Type_Link_Audit.sql SQL -18 0 -6 -24
8 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\116_tbl_Shop_Product_Variation_Link.sql SQL -23 -7 -6 -36
9 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\117.0_tbl_Shop_Product_Variation_Link_Audit.sql SQL -18 0 -6 -24
10 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\128_tbl_Shop_Product_Delivery_Region_Link.sql SQL -27 0 -5 -32
11 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\129_tbl_Shop_Product_Delivery_Region_Link_Audit.sql SQL -18 0 -5 -23
12 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\170_ish_tbl_ERP_Order.sql SQL -14 0 -6 -20
13 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\171_tbl_Shop_User_Order.sql SQL -28 -6 -6 -40
14 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\172_tbl_Shop_User_Order_Audit.sql SQL -17 -6 -5 -28
15 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\173_tbl_Shop_User_Order_Product_Link.sql SQL -28 0 -5 -33
16 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\174_tbl_Shop_User_Order_Product_Link_Audit.sql SQL -17 0 -6 -23
17 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\308_tri_Shop_Recurrence_Interval.sql SQL -46 0 -10 -56
18 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\313.1_tri_Shop_Product_Variation_Type_Link.sql SQL -42 -10 -9 -61
19 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\316_tri_Shop_Product_Variation_Link.sql SQL -42 -10 -9 -61
20 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\322_tri_Shop_Price.sql SQL -50 -33 -11 -94
21 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\328_tri_Shop_Product_Delivery_Region_Link.sql SQL -38 -10 -9 -57
22 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\371_tri_Shop_User_Order.sql SQL -58 0 -9 -67
23 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\373_tri_Shop_User_Order_Product_Link.sql SQL -46 0 -9 -55
24 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\7000_p_shop_get_many_role_permission.sql SQL -82 -33 -17 -132
25 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\7000_p_shop_get_many_user_order.sql SQL -188 -61 -37 -286
26 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\706_p_shop_get_product.sql SQL -536 -68 -54 -658
27 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\9020_edit_permissions.sql SQL -70 -4 -9 -83
28 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\dump.sql SQL -5529 -2193 -514 -8236
29 c:\Users\edwar\OneDrive\Documents\Programming\Visual Studio 2022\PARTS_Web\app\static\MySQL\deprecated\dump2.sql SQL -5529 -2193 -514 -8236
30 Total - -14548 -4729 -1507 -20784