Highly ambitious ATProtocol AppView service and sdks
at main 13 lines 456 B view raw
1-- Create oauth_clients table 2CREATE TABLE oauth_clients ( 3 id SERIAL PRIMARY KEY, 4 slice_uri TEXT NOT NULL, 5 client_id TEXT UNIQUE NOT NULL, 6 registration_access_token TEXT, 7 created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), 8 created_by_did TEXT NOT NULL 9); 10 11-- Create indexes for efficient lookups 12CREATE INDEX idx_oauth_clients_slice_uri ON oauth_clients (slice_uri); 13CREATE INDEX idx_oauth_clients_client_id ON oauth_clients (client_id);