summaryrefslogtreecommitdiff
path: root/hi-ui/src/routes/(app)/+layout.svelte
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2024-10-10 20:52:46 -0400
committerOwen Jacobson <owen@grimoire.ca>2024-10-10 20:52:46 -0400
commit999996961e6e8ebcde125ff0022df875d62817b3 (patch)
tree0b4a633488ba00fcd9c4362b923409713c765175 /hi-ui/src/routes/(app)/+layout.svelte
parent0cc07cca2bc93cd9a3be4c887c6c9f51d94dc6bf (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 'hi-ui/src/routes/(app)/+layout.svelte')
0 files changed, 0 insertions, 0 deletions