Skip to content

Commit 783cd4d

Browse files
committed
fixup(coderd/database/migrations): update bedrock fixture to discriminated form
The settings JSON is now a discriminated, versioned blob carrying _type and _version. Update the sample bedrock row in the migration fixture to match the new schema; the migration that creates the table is on main, so the fixture has to be patched in this stack.
1 parent 8b6e438 commit 783cd4d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

coderd/database/migrations/testdata/fixtures/000495_ai_providers.up.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ INSERT INTO ai_providers (
2626
TRUE,
2727
FALSE,
2828
'https://bedrock-runtime.us-west-2.amazonaws.com/',
29-
'{"bedrock_region":"us-west-2","bedrock_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","bedrock_access_key":"fixture-bedrock-access-key","bedrock_access_key_secret":"fixture-bedrock-access-key-secret"}'
29+
'{"_type":"bedrock","_version":1,"region":"us-west-2","model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","access_key":"fixture-bedrock-access-key","access_key_secret":"fixture-bedrock-access-key-secret"}'
3030
),
3131
(
3232
'8e3c6e18-2b75-4c3f-9b35-9d1c6f4e1a03',

0 commit comments

Comments
 (0)