diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-10-10 20:52:46 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-10-10 20:52:46 -0400 |
| commit | 999996961e6e8ebcde125ff0022df875d62817b3 (patch) | |
| tree | 0b4a633488ba00fcd9c4362b923409713c765175 /.sqlx/query-191255b9e55c9b36d0fd047e56e515d121964d3481e48aae3558b53a5123ce7d.json | |
| parent | 0cc07cca2bc93cd9a3be4c887c6c9f51d94dc6bf (diff) | |
Fix invalid migration.
The original version of this migration happened to work correctly, by accident, for databases with exactly one login. I missed this, and so did Kit, because both of our test databases _actually do_ contain exactly one login, and because I didn't run the tests before committing the migration.
The fixed version works correctly for all scenarios I tested (zero, one, and two users, not super thorough). I've added code to patch out the original migration hash in databases that have it; no further corrective work is needed, as if the migration failed, then it got backed out anyways, and if it succeeded, you fell into the "one user" case.
Diffstat (limited to '.sqlx/query-191255b9e55c9b36d0fd047e56e515d121964d3481e48aae3558b53a5123ce7d.json')
0 files changed, 0 insertions, 0 deletions
