Skip to content

Add undoEdaStudy.pl script to remove a single EDA study#106

Open
jbrestel wants to merge 1 commit into
masterfrom
worktree-undo-eda-study
Open

Add undoEdaStudy.pl script to remove a single EDA study#106
jbrestel wants to merge 1 commit into
masterfrom
worktree-undo-eda-study

Conversation

@jbrestel
Copy link
Copy Markdown
Member

Summary

  • Adds Load/bin/undoEdaStudy.pl, a standalone script to undo/remove a single EDA study from the database
  • Takes --extDbRlsSpec (one or more, format: DbName|Version) and a required --gusConfigFile
  • Delegates entirely to the existing InstallEdaStudyFromArtifacts::uninstallDataFromExternalDatabase(), which drops artifact tables/views and deletes rows from eda.entitytypegraph, eda.studyexternaldatabaserelease, and eda.study
  • Assumes Postgres only

Test plan

  • Run against a dev database with a known study extDbRlsSpec and verify artifact tables are dropped and EDA metadata rows are removed
  • Verify usage message prints when called with missing required args

🤖 Generated with Claude Code

Delegates to InstallEdaStudyFromArtifacts::uninstallDataFromExternalDatabase(),
which drops artifact tables/views and cleans up eda.entitytypegraph,
eda.studyexternaldatabaserelease, and eda.study rows.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant