dennys-bd / dennys-bd/gonext

Tech debt: migration check on startup

Open
#25 0 comments 0 reactions 0 assignees View on GitHub
tech-debt
Dominant language
Go
Stars
0
Forks
0
Avg merge
3h 1m
Merged PRs (30d)
29

Description

Tracked in `roadmap.md` *Tech debts* as: **"migration check on startup"**

The server starts happily against a database whose schema is behind the migrations registered in `templates/backend/internal/database/migrations/`. It should detect the drift at boot.

Needs a decision on the response: hard-fail, warn-and-continue, or auto-apply (and whether that differs between dev and production).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with roadmap.md and inspect the migration files under templates/backend/internal/database/migrations/. First resolve whether startup should hard-fail, warn and continue, or auto-apply migrations, including any development-versus-production difference. Done means the server detects when the database schema is behind the registered migrations according to the chosen behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.