feat(release): prepare 1.1.0 candidate
This commit is contained in:
parent
5a34f66981
commit
5205dcdfa9
736 changed files with 115667 additions and 12203 deletions
|
|
@ -0,0 +1,18 @@
|
|||
BEGIN;
|
||||
|
||||
-- Audit evidence must survive an account deletion, but it must not block the
|
||||
-- deletion or retain a recoverable administrator identity. Existing audit_log
|
||||
-- rows are preserved; only the actor reference becomes NULL on deletion.
|
||||
ALTER TABLE public.audit_log
|
||||
ALTER COLUMN admin_id DROP NOT NULL;
|
||||
|
||||
ALTER TABLE public.audit_log
|
||||
DROP CONSTRAINT IF EXISTS audit_log_admin_id_fkey;
|
||||
|
||||
ALTER TABLE public.audit_log
|
||||
ADD CONSTRAINT audit_log_admin_id_fkey
|
||||
FOREIGN KEY (admin_id)
|
||||
REFERENCES auth.users(id)
|
||||
ON DELETE SET NULL;
|
||||
|
||||
COMMIT;
|
||||
Loading…
Add table
Add a link
Reference in a new issue