fix: Date the webhook scope migration after the one before it
The file came in named 20260502000000, which sorts ahead of the TOTP attempt limit from August. Knex records migrations in the order it runs them, so the last row in the table is not the same on every instance: a fresh install runs both in name order and ends on the August one, while an instance that already had it runs only this one and ends here. Pro reads that last row to recognise which Community version it is upgrading from, and it can only carry one name per version. Renaming to a timestamp after the August migration makes the last row the same everywhere. The rename is safe while this is only a few commits old on master and in no tag. Anyone who pulled in that window and already ran it would see knex offer it a second time.
This commit is contained in:
Reference in New Issue
Block a user