fix(db): define clan_members before applying data migrations (#82) - #99
fix(db): define clan_members before applying data migrations (#82)#99angelTomo9 wants to merge 2 commits into
Conversation
|
Fixed! Removed the \set ON_ERROR_STOP on meta-command in 86bd0d6 to ensure pure SQL compatibility with node-postgres pool.query() inside migrate.ts. |
Code Review ✅ Approved 1 resolved / 1 findingsReorders schema.sql to define clan_members before data migration queries and removes the psql meta-command, addressing the migration runner startup failure. No issues found. ✅ 1 resolved✅ Bug: psql meta-command \set breaks pg-based migration at startup
OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
|
All feedback from code review has been resolved and approved by CI/review bots. @Bitcoindefi maintainers, ready for merge when convenient! Thank you. |
Resumen de cambios
Resuelve #82 reordenando api/schema.sql para que la tabla clan_members, sus columnas referenciadas (characters.clan_id), constraints e indices se definan antes de las consultas de migracion de datos que referencian clan_members.
Puntos clave
Closes #82