Skip to content

feat(db): implement database migration system with version tracking a… - #295

Open
uche102 wants to merge 2 commits into
Epta-Node:mainfrom
uche102:feat/database-migrations
Open

feat(db): implement database migration system with version tracking a…#295
uche102 wants to merge 2 commits into
Epta-Node:mainfrom
uche102:feat/database-migrations

Conversation

@uche102

@uche102 uche102 commented Aug 20, 2026

Copy link
Copy Markdown

File Action Description
backend/src/db/migrations/003_create_schema_migrations.sql New Migration file creating schema_migrations tracking table
backend/src/db/migrations/tracker.ts New Version tracking helper module
backend/src/db/migrations/runner.ts New Core migration execution & rollback engine
backend/src/db/migrations/index.ts New Public migration API exports
backend/src/db/migrations/runner.test.ts New Unit test suite for migration lifecycle
backend/src/db/migrations/001_add_stats_indexes.sql Modify Added -- DOWN block for rollback
backend/src/db/migrations/002_create_tasks_table.sql Modify Added -- DOWN block for rollback
backend/src/config/index.ts Modify Added AUTO_MIGRATE configuration option
backend/src/index.ts Modify Runs migrations on server startup
backend/src/api/routes/health.ts Modify Implemented GET /migrations handler
backend/src/api/app.ts Modify Mounted GET /migrations route
-Closes #274

@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

@uche102 is attempting to deploy a commit to the Jaja's projects Team on Vercel.

A member of the Team first needs to authorize it.

@devJaja
devJaja self-requested a review August 24, 2026 00:28
@devJaja

devJaja commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

nice implementation @uche102

Kindly resolve the conflicts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(backend): Add Database Migration System with Version Tracking

2 participants