Skip to content

Use snake_case database column names - #113

Merged
dahlia merged 1 commit into
mainfrom
refactor/snakecase
Oct 6, 2026
Merged

dahlia merged 1 commit into
mainfrom
refactor/snakecase

Conversation

@sij411

@sij411 sij411 commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

Map existing camelCase TypeScript properties to snake_case database columns and add a data-preserving rename migration. Update historical migration fixtures and index assertions for the renamed columns.

Fixes #104.

AI provenance: I asked Codex to implement issue #104. Codex generated the column mappings, rename migration and snapshot, and updates to existing tests.

Assisted-by: Codex:gpt-6.1-sol

.p.s.

I didn't add extra tests since it feels like unnecessary. I would if anyone asks to

Map existing camelCase TypeScript properties to snake_case database columns
and add a data-preserving rename migration. Update historical migration
fixtures and index assertions for the renamed columns.

Fixes #104.

AI provenance: I asked Codex to implement issue #104. Codex generated the
column mappings, rename migration and snapshot, and updates to existing
tests.

Assisted-by: Codex:gpt-6.1-sol
@sij411
sij411 requested review from 2chanhaeng, dahlia and dodok8 October 6, 2026 09:15
@dahlia dahlia added this to the DrFed 0.1.0 milestone Oct 6, 2026
@dahlia
dahlia merged commit f63061b into main Oct 6, 2026
11 checks passed
@dahlia
dahlia deleted the refactor/snakecase branch October 6, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

Convention for names of tables and columns

2 participants