Skip to content

Ft/add alembic support#78

Merged
Aditya0545 merged 7 commits intoindictechcom:mainfrom
Agamya-Samuel:ft/add-alembic-support
Dec 13, 2025
Merged

Ft/add alembic support#78
Aditya0545 merged 7 commits intoindictechcom:mainfrom
Agamya-Samuel:ft/add-alembic-support

Conversation

@Agamya-Samuel
Copy link
Collaborator

Improves #76

Agamya-Samuel and others added 7 commits December 13, 2025 08:14
…able

- Deleted migration scripts for adding article metadata, expansion bytes, and size at start columns to the submissions table, as they are no longer needed.
- Removed the associated README documentation that described these migrations.
- Updated main.py to focus solely on starting the Flask API server.
- Removed the obsolete database migration function and related initialization code, as migrations are now handled by Alembic.
- Adjusted comments to clarify the usage of Alembic for database migrations.
- Revised the README.md to clarify that Alembic is now the exclusive tool for database migrations, removing references to custom migration scripts.
- Updated ALEMBIC_USAGE_GUIDE.md to reflect the new migration strategy and guidelines for using Alembic for both schema and data migrations.
- Adjusted ARCHITECTURE.md to replace mentions of the `migrations/` directory with `alembic/`, emphasizing the use of Alembic for version control.
…cation structure changes

- Revised the database initialization section to specify the use of Alembic for migrations.
- Updated application entry point from `app.py` to `main.py`.
- Added notes on running migrations manually before starting the application.
- Clarified project structure and included details about the new `alembic/` directory for migrations.
@Aditya0545 Aditya0545 merged commit 490ddf8 into indictechcom:main Dec 13, 2025
2 checks passed
@Aditya0545 Aditya0545 self-requested a review December 13, 2025 03:26
@Agamya-Samuel Agamya-Samuel added bug Something isn't working enhancement New feature or request High Priority Need to implemented asap labels Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request High Priority Need to implemented asap

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants