Spaces:
Runtime error
Runtime error
Commit History
-
feat(sync): Implement warehouse synchronization from MongoDB to PostgreSQL
- Added WarehouseSyncService for managing async sync operations. - Created WarehouseSyncHandler for handling warehouse data fetching and validation. - Introduced models for field mapping and required fields for warehouse data. - Developed service methods for upserting warehouse data into PostgreSQL. - Implemented async task queue and background workers for processing sync operations. - Updated warehouse service to trigger async sync on create, update, and delete operations. - Created SQL script for the new scm_warehouse_ref table in PostgreSQL. - Added migration scripts for updating existing warehouse documents in MongoDB. - Implemented tests for verifying warehouse sync functionality. - Updated documentation to reflect changes in MongoDB collection naming and sync operations.8d1fdf5
-
refactor(database): reorganize database scripts and examples into docs directory
feat(database): add migration scripts for pricing levels, inventory and PO optional fields docs(examples): add example scripts for verification, diagnostics and imports style(database): update SQL and Python scripts with consistent formatting chore: move existing scripts to docs directory for better organizationf24ee1d