Repository navigation
chore: drop unapplied SQL trees and label db-migrate - #89
Draft
tomdmeredith wants to merge 1 commit into
Draft
tomdmeredith wants to merge 1 commit into
tomdmeredith wants to merge 1 commit into
Conversation
Remove the root migrations/ seed scripts and the unused packages/api/db/migrations copies. Label make db-migrate as a local bootstrap of supabase/migrations/0001_init.sql; live history stays supabase/migrations/ plus packages/api/migrations/. Co-authored-by: tomdmeredith <tomdmeredith@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Open
11 tasks
This branch was successfully deployed
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
Propose-only cleanup. Do not merge from this draft.
Deletes SQL trees that nothing applies:
migrations/(0003_agent_identity.sql,0004_provisioning_flows.sql,0005_proxy_metrics.sql). These were not referenced by Make, CI, tests, or docs.0003_agent_identity.sqlseeded plaintext API tokens.packages/api/db/migrations/(0001_init.sqland0002_score_engine.sqlmatchsupabase/migrations/;0003_probe_runner.sqland0012_failure_modes.sqlare unused siblings). ORM models inpackages/api/db/stay.make db-migrateis unchanged as a command: it still runspsqlagainst docker-compose Postgres on:54322withsupabase/migrations/0001_init.sql. The Makefile and README now label that target as local bootstrap only. Live schema history remainssupabase/migrations/pluspackages/api/migrations/.Left in place: one-shot scripts,
zendesk_support_executor, in-memory tx-hash replay, the identity shim,redis_url, and ORM models. No secrets files and no dependency bumps.Verification
rgfinds no remaining references to the deleted filenames (the identity-shim tests still use their own fixture token strings; those tests were not edited).make -n db-migrateprints the bootstrap label and applies onlysupabase/migrations/0001_init.sql.db-migrateapplied the deleted trees.packages/api/db/models.py,client.py, andrepository.pyare untouched.Open drafts #79, #81, #82, #83, #85, #86, and #87 do not touch these paths.