mitlist/be/app/schemas
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
..
__init__.py weeee💃 2025-03-30 16:02:49 +02:00
audit.py feat: Introduce FastAPI and Vue.js guidelines, enhance API structure, and add caching support 2025-06-09 21:02:51 +02:00
auth.py refactor: Clean up code and improve API structure 2025-06-09 15:14:34 +02:00
category.py feat: Introduce FastAPI and Vue.js guidelines, enhance API structure, and add caching support 2025-06-09 21:02:51 +02:00
chore.py feat: Enhance chore creation and assignment functionality 2025-06-22 21:27:04 +02:00
cost.py refactor: Clean up code and improve API structure 2025-06-09 15:14:34 +02:00
expense.py feat: Enhance cost management features with new endpoints and services 2025-06-21 00:53:03 +02:00
financials.py feat: Enhance cost management features with new endpoints and services 2025-06-21 00:53:03 +02:00
group.py feat: Implement soft delete functionality and remove cascading deletes 2025-06-25 20:16:28 +02:00
health.py refactor: Clean up code and improve API structure 2025-06-09 15:14:34 +02:00
invite.py refactor: Clean up code and improve API structure 2025-06-09 15:14:34 +02:00
item.py feat: Implement comprehensive roadmap for feature updates and enhancements 2025-06-10 08:16:55 +02:00
list.py refactor: Clean up code and improve API structure 2025-06-09 15:14:34 +02:00
message.py refactor: Clean up code and improve API structure 2025-06-09 15:14:34 +02:00
ocr.py refactor: Clean up code and improve API structure 2025-06-09 15:14:34 +02:00
recurrence.py feat: Enhance cost management features with new endpoints and services 2025-06-21 00:53:03 +02:00
settlement_activity.py refactor: Clean up code and improve API structure 2025-06-09 15:14:34 +02:00
time_entry.py feat: Introduce FastAPI and Vue.js guidelines, enhance API structure, and add caching support 2025-06-09 21:02:51 +02:00
token.py feat: Introduce FastAPI and Vue.js guidelines, enhance API structure, and add caching support 2025-06-09 21:02:51 +02:00
user.py feat: Introduce FastAPI and Vue.js guidelines, enhance API structure, and add caching support 2025-06-09 21:02:51 +02:00