Executes a single migration file from the seed directory. Path format: postgres//file.sql or mongo//file.json. Used by e2e tests to apply specific migrations before test execution.
{ "path": "postgres/onboarding/001-seed-test-data.sql" }
curl --location --request POST 'https://api.staging.vrtx.sa/testhelpers/databases/migrations/execute' \ --header 'Content-Type: application/json' \ --data-raw '{ "path": "postgres/onboarding/001-seed-test-data.sql" }'
{ "success": true, "engine": "POSTGRES", "database": "string", "path": "string", "statements_applied": 0, "documents_inserted": 0, "error": "string" }