Skip to content

[fix] Make analytics migrations compatible with supported PostgreSQL #1702

Closed

Description

@K1NGD4VID

Labels: bug, backend, high-priority, points: 200
File/location: backend/prisma/migrations/20261001000000_add_timescaledb_analytics/migration.sql:13

Description:
The required Prisma migration unconditionally creates TimescaleDB, but docker-compose and CI provision stock PostgreSQL. The promised live analytics fallback cannot help because migrate deploy fails before the app starts.

Acceptance Criteria:

  • Make a documented supported fresh deployment succeed with the database image supplied by Compose and CI, either by provisioning TimescaleDB or making analytics setup optional.
  • Run prisma migrate deploy from an empty database in CI and verify analytics behavior in the supported extension-present/extension-absent configurations.

Notes:
Source trace: the mandatory migration executes CREATE EXTENSION timescaledb; docker-compose.yml provisions postgres:16-alpine.

Audited commit: 649b6976a100fd964ce191428eef1faeb50aaa39. Closest prior issues reviewed: #1480, #890. This report concerns the specific failure or uncovered test paths described above, rather than repeating the original feature request.

Activity

  1. omoniyiadebayo12goal-crypto commented on Oct 21, 2026

    @omoniyiadebayo12goal-crypto

    @omoniyiadebayo12goal-crypto has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    Hello Maintainer,

    I’m Adebayo. I have carefully reviewed the issue description, acceptance criteria, and expected deliverables. I would appreciate the opportunity to contribute to this task.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @omoniyiadebayo12goal-crypto to this issue.

  2. Maxl500 commented on Oct 21, 2026

    @Maxl500

    @Maxl500 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    Hi Maintainer I can fix this 100 percent

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Maxl500 to this issue.

  3. intelliDean commented on Oct 21, 2026

    @intelliDean
    Contributor

    @intelliDean has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    I'd like to work on this issue

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @intelliDean to this issue.

  4. drips-wave commented on Oct 21, 2026

    @drips-wave

    Congratulations, @intelliDean! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.

    🧑‍💻 @intelliDean: 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 🌊

  5. added 2 commits that reference this issue on Oct 22, 2026
  6. grantfox-oss commented on Oct 22, 2026

    @grantfox-oss

    🎉 This issue has been marked as completed on GrantFox!

    @intelliDean's PR #1719 was approved and merged by @blurbeast.

    🏆 @intelliDean: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (70 total points). Track your full progress on GrantFox.

    👏 Great work, @intelliDean! Keep contributing to LabsCrypt.

  7. drips-wave commented on Oct 22, 2026

    @drips-wave

    This issue has been completed by @intelliDean as part of the Stellar Wave Program's 10th Wave 🥳

    😎 @intelliDean: 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.

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

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programbackendBackend related tasksbugSomething isn't workinghigh-priorityCritical items for MVPpoints: 200

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions