mirror of
https://github.com/plausible/analytics.git
synced 2024-12-25 02:24:55 +03:00
dec193e904
* 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
7 lines
132 B
Bash
Executable File
7 lines
132 B
Bash
Executable File
#!/bin/sh
|
|
# lists pending migrations
|
|
|
|
BIN_DIR=$(dirname "$0")
|
|
|
|
"${BIN_DIR}"/bin/plausible eval Plausible.Release.pending_migrations
|