Skip to content

Fix duplicate table definitions in schema.ts - #524

Closed
SrvFernandes wants to merge 1 commit into
ChainLearnOfficial:mainfrom
SrvFernandes:fix/duplicate-schema-definitions-muntvht3
Closed

SrvFernandes wants to merge 1 commit into
ChainLearnOfficial:mainfrom
SrvFernandes:fix/duplicate-schema-definitions-muntvht3

Conversation

@SrvFernandes

Copy link
Copy Markdown

Closes #508

Summary

Removes duplicate table definitions (4 tables) and duplicate column definition in users table from schema.ts, resolving 127 TypeScript compilation errors.

Changes

  • Removed duplicate definitions for tables: user_progress, course_modules, module_quizzes, quiz_questions
  • Removed duplicate created_at column in users table
  • Verified TypeScript compilation passes with tsc --noEmit

Testing

  • Confirmed npm run typecheck completes without errors
  • Verified all table definitions are unique and valid

Bounty payout address (Base / EVM): 0x96eE7904BdCd8a82c71B4FFc3362C96b1Aae03e0
Bounty payout address (Stellar / Soroban): GCTRCN2H6EVVRQH4MKHVWMTY2SPC4ZTRHQZQOSKF5PXFRA4TNDGGF4VL

Signed-off-by: Sérgio <sveronezfernandes@gmail.com>
@DeFiVC DeFiVC closed this Oct 1, 2026
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.

Fix duplicate table definitions in schema.ts causing 127 TypeScript compilation errors

2 participants