Replaced ad-hoc db:migrate:* / db:schema:chat scripts with bootstrap + ordered migrations and Cursor db-schema-sync / typeorm-nested-entities skills.
npm run db:bootstrap → initial_table.sql (greenfield)npm run db:migrate / db:migrate:status → script/migrations/ + schema_migrationsSQL and entities were drifting; multiple npm DB commands were hard to maintain.
db:bootstrap once, then db:migrate on every environment sync..cursor/rules/db-schema-sync.mdc on entity/DDL edits.backend-pms-dev/docs/DATABASE.md, script/migrations/README.md