[Docs] Reconcile the fresh-database migration path across CONTRIBUTING, DEVELOPMENT, and CI
Overview & Background
Three sources describe the migration bootstrap three different ways. docs/DEVELOPMENT.md:22 admits "the committed init migration doesn't apply cleanly to an empty database, so the sandbox pushes the schema directly instead of replaying migration history". But CONTRIBUTING.md:150-153 tells newcomers to run npm run prisma:generate / npm run prisma:migrate (which maps to prisma migrate dev), and CI concedes the problem with npx prisma migrate deploy ... || npx prisma db push --accept-data-loss (pr-preview.yml:87-92). New contributors hit a broken migration path that docs describe two different ways.
Technical Specification & Architecture
-
Repair the init migration (or document a supported bootstrap path).
-
Make
CONTRIBUTING.md,docs/DEVELOPMENT.md, and CI all use the same documented sequence. -
Delete the silent
db pushfallback oncemigrate deployworks.
Target Files
CONTRIBUTING.mddocs/DEVELOPMENT.md.github/workflows/pr-preview.ymlbackend/prisma/migrations/
Acceptance Criteria
- [ ] One documented bootstrap path, followed verbatim, yields a working DB.
- [ ] CONTRIBUTING and DEVELOPMENT commands match the scripts that exist.
- [ ] CI exercises the documented path on a fresh database.
@akele24 has applied to work on this issue as part of the Stellar Wave Program's 11th wave.
Hi maintainer, i fully understand what is needed to get this issue fixed. I'd love to handle this. Kindly assign. Thank you
ℹ️ Repo Maintainers: To accept this application, review their application or assign @akele24 to this issue.
@sojetunde8 has applied to work on this issue as part of the Stellar Wave Program's 11th wave.
I can fix this
ℹ️ Repo Maintainers: To accept this application, review their application or assign @sojetunde8 to this issue.
Congratulations, @sojetunde8! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on November 25, 2026.
🧑💻 @sojetunde8: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
[!WARNING] When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
🌊 Happy Wave 🌊
This issue has been completed by @sojetunde8 as part of the Stellar Wave Program's 11th Wave 🥳
😎 @sojetunde8: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.