Something went wrong. Try again.
A lexicon-driven AppView for ATProto.
Something went wrong. Try again.
338 B · 10 lines
SQL
at main
1234567891011CREATE TABLE IF NOT EXISTS space_credentials ( id TEXT PRIMARY KEY, space_id TEXT NOT NULL REFERENCES spaces(id) ON DELETE CASCADE, issued_to TEXT NOT NULL, token_hash TEXT NOT NULL, expires_at TEXT NOT NULL, created_at TEXT NOT NULL);
CREATE INDEX idx_space_credentials_space_id ON space_credentials(space_id);