Link new settings pages to new tables for config

This commit is contained in:
2025-01-12 16:01:34 -05:00
parent 8172323954
commit a6781205a3
8 changed files with 270 additions and 6 deletions

View File

@@ -35,7 +35,12 @@ const CORE_TABLES = [
// Config tables that must be created
const CONFIG_TABLES = [
'stock_thresholds'
'stock_thresholds',
'lead_time_thresholds',
'sales_velocity_config',
'abc_classification_config',
'safety_stock_config',
'turnover_config'
];
// Split SQL into individual statements

View File

@@ -26,7 +26,12 @@ const METRICS_TABLES = [
// Config tables that must exist
const CONFIG_TABLES = [
'stock_thresholds'
'stock_thresholds',
'lead_time_thresholds',
'sales_velocity_config',
'abc_classification_config',
'safety_stock_config',
'turnover_config'
];
// Core tables that must exist