chore(db): drop dead tables (product_pages, matches) — schema cleanup Phase 1#8
Open
StockerMC wants to merge 1 commit into
Open
chore(db): drop dead tables (product_pages, matches) — schema cleanup Phase 1#8StockerMC wants to merge 1 commit into
StockerMC wants to merge 1 commit into
Conversation
Phase 1 of the schema cleanup in docs/schema-redesign.md. Both tables had 0 rows, 0 inbound foreign keys, and no references in frontend or backend code: - product_pages: superseded by youtube_shorts; referenced nowhere - matches: v1 matching pipeline, replaced by product_creator_matches Verified empty + FK-free before dropping. Applied to the live DB via migration.
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Phase 1 of the schema cleanup proposed in
docs/schema-redesign.md(PR #7). Drops the two confirmed-dead tables — already applied to the live DB.product_pagesyoutube_shortsas the public showcase pagematchesproduct_creator_matchesVerified empty + FK-free immediately before dropping. Migration file:
backend/data/drop_dead_tables.sql(idempotent,IF EXISTS).The
match_statusenum is intentionally left in place (harmless).Depends on / pairs with #7 (the schema doc + annotated snapshot). Phases 2–4 (retire v2 pipeline, consolidate merchant/creator identity, move worker tables out of
public) remain proposals only.