Skip to content

[FEAT] : fixed Canonical Schema Syntax Error#3151

Open
hrshjswniii wants to merge 2 commits into
Priyanshu-byte-coder:mainfrom
hrshjswniii:feature/Schema-Syntax-Error
Open

[FEAT] : fixed Canonical Schema Syntax Error#3151
hrshjswniii wants to merge 2 commits into
Priyanshu-byte-coder:mainfrom
hrshjswniii:feature/Schema-Syntax-Error

Conversation

@hrshjswniii

Copy link
Copy Markdown

Summary

This PR fixes a minor syntax error in the primary database initialization script (supabase/schema.sql). A duplicate closing bracket and semicolon statement on line 300 was causing SQL execution to fail during bootstrapping.

Closes #3130


Type of Change

  • 🐛 Bug fix (non-breaking change that fixes an issue)
  • ✨ New feature (non-breaking change that adds functionality)
  • 💥 Breaking change (fix or feature that changes existing behavior)
  • 📝 Documentation update
  • ♻️ Refactor / code cleanup (no functional change)
  • ⚡ Performance improvement
  • 🔒 Security fix
  • 🧪 Tests only

What Changed

  • Database Schema (supabase/schema.sql): Removed a duplicate closing parenthesis and semicolon ); on line 300 that followed the leaderboard_cache table definition.

How to Test

  1. Connect to a fresh, empty PostgreSQL/Supabase database instance.
  2. Run the entire SQL query content of the supabase/schema.sql file.

Expected result:
The script compiles and executes successfully from start to finish with no syntax or database structure errors.


Checklist

  • Linked the related issue above
  • Self-reviewed my own diff
  • No unnecessary console.log, debug code, or commented-out blocks
  • npm run lint passes locally
  • No TypeScript errors (npm run type-check)
  • Added or updated tests where applicable
  • Updated documentation / comments if behavior changed

Additional Context

None.

@github-actions github-actions Bot added the gssoc26 GSSoC 2026 contribution label Jul 5, 2026
@github-actions

github-actions Bot commented Jul 5, 2026

Copy link
Copy Markdown

GSSoC Label Checklist 🏷️

@Priyanshu-byte-coder — please apply the appropriate labels before merging:

Difficulty (pick one):

  • level:beginner — 20 pts
  • level:intermediate — 35 pts
  • level:advanced — 55 pts
  • level:critical — 80 pts

Quality (optional):

  • quality:clean — ×1.2 multiplier
  • quality:exceptional — ×1.5 multiplier

Validation (required to score):

  • gssoc:approved — counts for points
  • gssoc:invalid / gssoc:spam / gssoc:ai-slop — does not score

Type labels (type:*) are auto-detected from files and title. Review and adjust if needed.
Points formula: (difficulty × quality_multiplier) + type_bonus

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

Labels

gssoc26 GSSoC 2026 contribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] : Canonical Schema Syntax Error

1 participant