Redesign Soundmarks: ephemeral user drops + business applications
Full replacement of the major/community tiers and propose+vote mechanism
with: any user drops a song at their current location (24h TTL via a
read-time cutoff filter, clustered within 25m via union-find at query
time), and businesses become persistent, playlist-owning soundmarks only
through a self-service application a super admin approves - replacing the
old admin-picks-an-existing-owner flow entirely.
- Soundmark splits into two tables: soundmarks (business-only now, owner
required) and the new SoundmarkDrop/BusinessApplication.
- SoundmarkProposal/SoundmarkProposalVote retired outright.
- New endpoints: POST /drop, POST/GET /business-applications(/mine),
approve/reject. /nearby now returns {businesses, drop_clusters}.
- Migration wipes existing major/community rows (kept business ones,
per the user's explicit direction), tightens business_owner_id to
NOT NULL - verified both directions against a scratch DB copy.
- tests/test_soundmarks.py rewritten for the new shape; full backend
suite green (506 passed).
Showing
changes.md
0 → 100644
Please
register
or
sign in
to comment