Skip to content

Feat/leaderboard migration#263

Open
AbuJulaybeeb wants to merge 3 commits into
Akanimoh12:mainfrom
AbuJulaybeeb:feat/leaderboard-migration
Open

Feat/leaderboard migration#263
AbuJulaybeeb wants to merge 3 commits into
Akanimoh12:mainfrom
AbuJulaybeeb:feat/leaderboard-migration

Conversation

@AbuJulaybeeb

Copy link
Copy Markdown

What was done

  • Created the migration file db/migrations/0004_create_leaderboard.sql defining the leaderboard table structure.
  • Ensured idempotency by using IF NOT EXISTS guards for both the table creation and the descending points index (idx_lb_points).

Why it was done

  • Setup the baseline database structure for the leaderboard snapshot cache.

How it was verified

  • Verified schema types and names align with docs/ORACLE_AND_BACKEND.md.
  • Ran TypeScript compilation checks (npm run typecheck) to confirm scaffold compilation is intact.

Closes #4

Akanimoh12 and others added 3 commits June 21, 2026 12:21
…plementation-drips

Scaffolds the workspaces where backend + oracle work will land:
- backend/  Fastify REST API (Node/TS) — package.json, tsconfig, .env.example, stub entry
- indexer/  Soroban getEvents indexer — same scaffold
- oracle/   council aggregator + data adapters + monitor — same scaffold
- db/       shared Postgres migrations dir + schema README
- infra/    docker-compose.dev.yml (Postgres + Redis) + README
- CONTRIBUTING.md describing the implementation-drips workflow
- .gitignore: ignore dist/ for the new TS services

No GitHub Actions added. All future work targets the implementation-drips branch.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…ion issues

- scripts/gen_issues.py — generates all 260 issues (context, what-to-build,
  acceptance criteria, file location, PR-target reminder) with area/priority
  labels + phase milestones. Idempotent: skips titles that already exist.
  Modes: --dry-run, --sample N, or full run.
- scripts/create-issues.sh — TSV-driven alternative creator.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 24, 2026

Copy link
Copy Markdown

@renoschubert is attempting to deploy a commit to the akanimoh12's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jun 24, 2026

Copy link
Copy Markdown

@AbuJulaybeeb Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Akanimoh12

Copy link
Copy Markdown
Owner

Please read instruction on making pr, make pr to the branch, not main

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.

[DB] Create leaderboard table migration

2 participants