perf: sync protocol and core hardening updates
This commit is contained in:
parent
152fed3b87
commit
4390ebf5a9
283 changed files with 29231 additions and 2295 deletions
7
deploy/migrations/0067_auth_key_last_used.down.sql
Normal file
7
deploy/migrations/0067_auth_key_last_used.down.sql
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
DROP INDEX IF EXISTS public.temp_auth_key_bindings_perm_idx;
|
||||
DROP INDEX IF EXISTS public.auth_keys_orphan_last_used_idx;
|
||||
ALTER TABLE public.auth_keys DROP COLUMN IF EXISTS last_used_at;
|
||||
|
||||
-- Restore the 0065 schema used by the pre-last_used orphan collector.
|
||||
CREATE INDEX IF NOT EXISTS auth_keys_orphan_retention_idx
|
||||
ON public.auth_keys (created_at, auth_key_id);
|
||||
Loading…
Add table
Add a link
Reference in a new issue