mitlist/be
google-labs-jules[bot] a7fbc454a9 Refactor: Reset Alembic migrations and consolidate models.
This commit addresses issues with backend models, schemas, and migrations.

Key changes:
- Consolidated all SQLAlchemy model definitions into `be/app/models.py`.
- Emptied `be/app/models/expense.py` as its contents were duplicates.
- Verified and standardized Base class usage and SQLAlchemy imports in models.
- Confirmed the correctness of self-referential relationships in the `Expense` model.
- Added a clarifying comment to `SplitTypeEnum` regarding future extensibility.
- Corrected a typo in `Settlement.created_by_user_id`.

Migration Cleanup:
- Deleted all existing Alembic migration files from `be/alembic/versions/`.
- Created a new, single initial migration script (`0001_initial_schema.py`) that defines the entire database schema based on the current state of the SQLAlchemy models. This provides a clean slate for future migrations.

This reset was performed because the previous migration history was complex and contained a revision that was incompatible with the current model definitions. Starting fresh ensures consistency between the models and the database schema from the initial point.
2025-06-01 14:26:37 +02:00
..
alembic Refactor: Reset Alembic migrations and consolidate models. 2025-06-01 14:26:37 +02:00
app Refactor: Reset Alembic migrations and consolidate models. 2025-06-01 14:26:37 +02:00
tests feat: Add comprehensive notes and tasks for project stabilization and enhancements 2025-05-24 21:36:57 +02:00
.dockerignore weeee💃 2025-03-30 16:02:49 +02:00
.gitignore weeee💃 2025-03-30 16:02:49 +02:00
alembic.ini weeee💃 2025-03-30 16:02:49 +02:00
Dockerfile add_version_to_lists_and_items 2025-05-07 23:30:23 +02:00
Dockerfile.prod feat: Add production deployment configuration and environment setup 2025-05-28 08:23:22 +02:00
pytest.ini Implement test fixtures for async database sessions and enhance test coverage for CRUD operations. Introduce mock settings for financial endpoints and improve error handling in user and settlement tests. Refactor existing tests to utilize async mocks for better reliability and clarity. 2025-05-20 01:18:31 +02:00
requirements.txt feat: Implement recurring expenses feature with scheduling and management 2025-05-22 16:37:14 +02:00