Commit Graph

5 Commits

Author SHA1 Message Date
Misaka_Company
4721634b81 Refactor logging system to use unified log_utils module and enhance logging messages across multiple scripts 2026-01-12 13:55:28 +08:00
Misaka_Company
83c90f0161 Refactor configuration management and remove deprecated files
- Consolidated database, file source, and field mapping configurations into dedicated modules under the `config` directory.
- Removed hardcoded database connection details from `migration.py` and replaced them with imports from the new configuration structure.
- Updated `ntfy_utils.py` and `run_incremental_sync.py` to utilize the new configuration imports for cleaner code and better maintainability.
- Deleted `update_config.py` as its contents have been integrated into the new configuration files.
- Added a new `settings.local.json` for managing permissions related to script execution.
- Enhanced the structure of the migration tasks and Excel configurations for better organization and clarity.
2026-01-12 12:49:51 +08:00
Misaka_Company
e81f59ef80 Update migration tasks with new file paths and mappings for customer model 2026-01-08 14:38:05 +08:00
Misaka_Company
c50573fd78 Add ntfy notification system and enhance logging for error handling 2026-01-08 13:30:38 +08:00
Misaka_Company
1e91071769 Implement migration script with database connection and Excel data processing 2026-01-07 18:53:25 +08:00