buster/api/migrations/2025-01-09-183703_add_uniqu...
dal 43abb0321e
Refactor dataset deployment logic and enforce unique constraints
- Updated the SQL migration to enforce a unique constraint on the combination of `database_name` and `data_source_id` in the datasets table, ensuring data integrity.
- Refactored the `deploy_datasets_handler` to separate datasets with and without IDs, allowing for concurrent upsert operations based on their presence.
- Enhanced the upsert logic to handle datasets more efficiently, improving performance during dataset deployment.

These changes improve the robustness and efficiency of the dataset deployment process within the API.
2025-01-09 13:05:54 -07:00
..
down.sql Add support for YAML-based dataset deployment and enhance dataset structures 2025-01-09 11:57:56 -07:00
up.sql Refactor dataset deployment logic and enforce unique constraints 2025-01-09 13:05:54 -07:00