fix(operator): soft-revoke wallet access instead of deleting the row

This commit is contained in:
CleverWild
2026-09-07 15:18:31 +02:00
parent a37af6bc1c
commit 6e21505a7f
9 changed files with 358 additions and 66 deletions

View File

@@ -109,6 +109,7 @@ create table if not exists evm_wallet_access (
id integer not null primary key,
wallet_id integer not null references evm_wallet (id) on delete cascade,
client_id integer not null references program_client (id) on delete cascade,
revoked_at integer, -- unix timestamp when revoked, null = still active
created_at integer not null default(unixepoch ('now'))
) STRICT;