snake_case database naming
Auto-generated from the source archive. Do not edit by hand — rerun
catalyst-changelog-syncinstead.
What changed
Section titled “What changed”- Breaking: generated Sequelize models now emit physical database names in
snake_case— tables (iam_tag), columns (row_id,created_at) and foreign keys — while TypeScript and the Aurora model keepcamelCase(IamTagModel.rowId). - Each
@Columnemits an explicitfield: '<snake_case>',@Tablekeeps a PascalCasemodelNamefor logs, and the scaffold setsunderscored: trueas a safety net.
Why it matters
Section titled “Why it matters”Postgres case-folds unquoted identifiers, so the previous PascalCase/camelCase names forced quoting across psql, pg_dump, views, triggers, replication and DBA tooling. With snake_case the database is idiomatic and quote-free, while your TypeScript surface is untouched. This is breaking for existing databases: a schema generated before this change uses the old names, so regenerating against a live database requires a migration that renames the affected tables and columns to their snake_case form.