Keep bot credentials out of durable command results, fail bot deletion closed when session revocation fails, reject invalid scam/fake states at every write boundary, and make direct collectible grants a single replayable PostgreSQL aggregate. Also lock admin gift sender/message limits and add regression coverage for rollback, replay, moderation constraints, and credential redaction.
9 lines
299 B
SQL
9 lines
299 B
SQL
ALTER TABLE public.channels
|
|
DROP CONSTRAINT IF EXISTS channels_scam_fake_mutually_exclusive,
|
|
DROP COLUMN IF EXISTS scam,
|
|
DROP COLUMN IF EXISTS fake;
|
|
|
|
ALTER TABLE public.users
|
|
DROP CONSTRAINT IF EXISTS users_scam_fake_mutually_exclusive,
|
|
DROP COLUMN IF EXISTS scam,
|
|
DROP COLUMN IF EXISTS fake;
|