Skip to content

feat(export): add sql_enabled/sql_dataset_url/sql_schema_hint to challenge export/import#44

Merged
aJesus37 merged 4 commits into
mainfrom
feat/sql-fields-export-import
Mar 20, 2026
Merged

feat(export): add sql_enabled/sql_dataset_url/sql_schema_hint to challenge export/import#44
aJesus37 merged 4 commits into
mainfrom
feat/sql-fields-export-import

Conversation

@aJesus37

Copy link
Copy Markdown
Owner

Summary

  • Adds sql_enabled, sql_dataset_url, and sql_schema_hint to ExportChallenge struct so SQL Playground configuration round-trips correctly through export/import
  • ExportBundle() now populates these fields from the challenge model
  • ImportBundle() now writes them into the DB INSERT

Test Plan

  • TestExportIncludesSQLFields — verifies ExportBundle populates SQL fields
  • TestImportRestoresSQLFields — verifies ImportBundle restores SQL fields from export
  • Full suite: go test -count=1 -timeout 120s ./...
  • End-to-end: import 01-incident-data-analysis-pt2.json, re-export, confirm sql_enabled and sql_dataset_url are present

🤖 Generated with Claude Code

@aJesus37
aJesus37 merged commit 7d47280 into main Mar 20, 2026
5 checks passed
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