Repository navigation
chore(db): drop the invite_code and waitlist tables - #208
Conversation
- Migration 0008 drops invite_code (+ index), waitlist and verification.inviteCode; unused since #207, owner approved deleting the data. - Dry-run on a copy of the prod database: both tables were already empty; integrity_check ok.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
- sqlx::migrate! embeds migrations/ at compile time but cargo doesn't track the directory, so the release builder's cached target reused a binary without 0008 (#208 released, prod stayed at migration 7). - build.rs emits rerun-if-changed=migrations; verified: touching only a migration file recompiles outer.
Owner approved (2026-12-01) deleting the invite-code and waitlist data left unused by #207. Migration 0008 drops
invite_code(+invite_code_createdBy),waitlist, andverification.inviteCode. Nothing references them (no FKs, no code). Checks: cargo fmt;cargo test -p outer --lib -- db:: auth::72 pass (runs the full migration chain); dry-run on a copy of the prod DB on the host: both tables already empty, objects gone, integrity_check ok. The release files a pre-release state copy before migrating.Summary by CodeRabbit