fix(sql): escape apostrophe in migration 99 COMMENT (deploy hotfix) #224

Merged
lekss361 merged 1 commit from fix/migration-99-apostrophe into main 2026-05-16 18:24:18 +00:00

1 commit

Author SHA1 Message Date
lekss361
f704785428 fix(sql): escape apostrophe in migration 99 COMMENT (deploy hotfix)
PR #222 deploy failed на 99_nspd_entities_denorm.sql:
  ERROR: syntax error at or near "а"
  LINE 2: '3-сегментный квартал последнего harvest'а. Используется...

Unescaped apostrophe в COMMENT string closes literal early.
Fix: harvest'а → harvest''а (SQL escape).

Других unescaped апострофов в SQL литералах нет (другие 3 — в SQL комментариях
'--' , безопасно).
2026-05-16 21:02:00 +03:00