···11+-- Add authorization_server column and remove did column from atproto_oauth_requests table
22+33+-- Add authorization_server column
44+ALTER TABLE atproto_oauth_requests
55+ADD COLUMN authorization_server VARCHAR(512) NOT NULL DEFAULT '';
66+77+-- Drop the DID index first
88+DROP INDEX idx_atproto_oauth_requests_did;
99+1010+-- Remove the did column
1111+ALTER TABLE atproto_oauth_requests
1212+DROP COLUMN did;
1313+1414+-- Add index for authorization_server lookups
1515+CREATE INDEX idx_atproto_oauth_requests_authorization_server ON atproto_oauth_requests(authorization_server);