mirror of
https://github.com/christianvidalwolf-prog/CrazeAnalytix.git
synced 2026-08-03 12:25:22 +02:00
fix: increment DB version and improve ads parsing robustness
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ import { SalesRecord } from '../types';
|
||||
const DB_NAME = 'CrazeAnalytixDB';
|
||||
const STORE_NAME = 'salesData';
|
||||
const ADS_STORE_NAME = 'adsData';
|
||||
const DB_VERSION = 1;
|
||||
const DB_VERSION = 2;
|
||||
// Increment this when data processing logic changes (e.g., field mapping changes)
|
||||
// This forces cache invalidation and re-processing of CSV data
|
||||
const DATA_SCHEMA_VERSION = 2; // Updated for LICENSE column mapping
|
||||
|
||||
Reference in New Issue
Block a user