Skip to content

chore: remove legacy MySQL schema and simplify Prisma setup#204

Merged
zainfathoni merged 2 commits intostagingfrom
chore/remove-mysql-schema
Jan 10, 2026
Merged

chore: remove legacy MySQL schema and simplify Prisma setup#204
zainfathoni merged 2 commits intostagingfrom
chore/remove-mysql-schema

Conversation

@zainfathoni
Copy link
Copy Markdown
Owner

Closes #rb-mysql-cleanup

Description

The project has fully migrated from MySQL to SQLite, but the old MySQL schema file remained. This PR cleans that up.

Changes

  • Delete prisma/schema.prisma (legacy MySQL schema)
  • Rename prisma/schema.sqlite.prismaprisma/schema.prisma
  • Remove all --schema=./prisma/schema.sqlite.prisma flags from:
    • CLAUDE.md
    • docs/database-migration.md
    • package.json scripts
    • Dockerfile
  • Add Database Inspection section to CLAUDE.md

Benefits

  • Simpler Prisma commands (no more --schema flag needed)
  • Cleaner project structure
  • Less confusion about which schema to use

Verification

  • npx prisma generate works without --schema flag
  • npm run type-check passes
  • npm test passes (19 tests)

zainfathoni and others added 2 commits January 11, 2026 06:07
- Delete prisma/schema.prisma (legacy MySQL schema)
- Rename prisma/schema.sqlite.prisma → prisma/schema.prisma
- Remove --schema flags from CLAUDE.md, docs/database-migration.md
- Update package.json scripts to use default schema path
- Update Dockerfile to use simplified prisma commands

Closes rb-mysql-cleanup

Amp-Thread-ID: https://ampcode.com/threads/T-019baa26-62cf-7508-aba0-5372842fe025
Co-authored-by: Amp <amp@ampcode.com>
kodiakhq[bot]
kodiakhq Bot previously approved these changes Jan 10, 2026
@zainfathoni zainfathoni changed the base branch from main to staging January 10, 2026 23:10
@zainfathoni zainfathoni dismissed kodiakhq[bot]’s stale review January 10, 2026 23:10

The base branch was changed.

@zainfathoni zainfathoni merged commit 4915b2d into staging Jan 10, 2026
8 checks passed
@zainfathoni zainfathoni deleted the chore/remove-mysql-schema branch January 10, 2026 23:16
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.

1 participant