mitlist/be/alembic
Mohamad 0cd1b9c84d feat: Implement soft delete functionality and remove cascading deletes
This commit introduces a significant update to the database schema and models by implementing soft delete functionality across multiple tables, including users, groups, lists, items, expenses, and more. Key changes include:

- Addition of `deleted_at` and `is_deleted` columns to facilitate soft deletes.
- Removal of cascading delete behavior from foreign key constraints to prevent accidental data loss.
- Updates to the models to incorporate the new soft delete mixin, ensuring consistent handling of deletions across the application.
- Introduction of a new endpoint for group deletion, requiring owner confirmation to enhance data integrity.

These changes aim to improve data safety and compliance with data protection regulations while maintaining the integrity of related records.
2025-06-25 20:16:28 +02:00
..
versions feat: Implement soft delete functionality and remove cascading deletes 2025-06-25 20:16:28 +02:00
env.py refactor: Separate async migration logic into dedicated module and streamline migration functions for improved clarity and maintainability 2025-06-01 17:33:04 +02:00
migrations.py refactor: Clarify access to revision strings in migration function by referencing Script object within RevisionStep 2025-06-01 18:09:31 +02:00
README weeee💃 2025-03-30 16:02:49 +02:00
script.py.mako weeee💃 2025-03-30 16:02:49 +02:00

Generic single-database configuration.