analytics/rel/overlays
Adrian Gruntkowski dec193e904
Make FixBrokenGoals migration idempotent (#3405)
* 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 https://github.com/plausible/analytics/pull/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
2023-10-10 14:13:11 +02:00
..
createdb.sh Fix shell scripts. (#1179) 2021-07-20 09:43:27 +03:00
init-admin.sh improve first launch experience for self-hosters (#2357) 2022-11-10 12:42:22 +01:00
migrate.sh Fix shell scripts. (#1179) 2021-07-20 09:43:27 +03:00
pending-migrations.sh Make FixBrokenGoals migration idempotent (#3405) 2023-10-10 14:13:11 +02:00
rollback.sh Fix shell scripts. (#1179) 2021-07-20 09:43:27 +03:00
seed.sh Fix shell scripts. (#1179) 2021-07-20 09:43:27 +03:00