Plausible r2023.10.10-205: Make FixBrokenGoals migration idempotent (#3405) Release

요약

  • FixBrokenGoals 마이그레이션을 멱등한 것으로 만듭니다.

해당 마이그레이션이 "ground up" 방식으로 실행될 때 마이그레이션 실행 순서를 고치기 위해 이름이 바뀌었습니다
(#3378).

부작용으로 인해, 이 마이그레이션이 이전에 적용된 데이터베이스에서 다른 타임스탬프 접두어로 다시 실행됩니다.

이 마이그레이션은 여러 번 실행해도 안전하기 때문에, 이미 제약 조건이 존재할 때도 순방향 마이그레이션을 원활하게 작동하도록 수정되었습니다.

  • pending-migrations.sh 릴리스 스크립트 추가

원문 내용

  • Make FixBrokenGoals migration idempotent

The migration in question was renamed in order to fix order of executing migrations when run
from the ground up (via #3378).

As a side effect, it's executed again on databases that had it applied earlier, with
a different timestamp prefix.

As this migration is safe to run multiple times, it was modified to make forward
migration work gracefully when constraint already exists.

  • Add pending-migrations.sh release script

링크 : https://github.com/plausible/analytics/releases/tag/r2023.10.10-205