Skip to content

Commit

Permalink
Pass postgresEnabled in body not headers
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-farries committed Sep 9, 2024
1 parent 994726c commit 78d12e9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/utils/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ export async function setUpTestEnvironment(

const { databaseName: database } = await api.databases.createDatabase({
pathParams: { workspaceId: workspace, dbName: `sdk-integration-test-${prefix}-${id}` },
body: { region, defaultClusterID: clusterId },
headers: { 'X-Features': 'feat-pgroll-migrations=1' }
body: { region, defaultClusterID: clusterId, postgresEnabled: true }
});

const workspaceUrl = getHostUrl(host, 'workspaces').replace('{workspaceId}', workspace).replace('{region}', region);
Expand Down

0 comments on commit 78d12e9

Please sign in to comment.