mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-21 09:15:55 +03:00
9 lines
274 B
PL/PgSQL
9 lines
274 B
PL/PgSQL
PRAGMA foreign_keys=OFF;
|
|
BEGIN;
|
|
CREATE INDEX idx_audit_logs_event ON audit_logs(event);
|
|
CREATE INDEX idx_audit_logs_user_id ON audit_logs(user_id);
|
|
CREATE INDEX idx_audit_logs_client_name ON audit_logs((json_extract(data, '$.clientName')));
|
|
|
|
COMMIT;
|
|
PRAGMA foreign_keys=ON;
|