ALTER TABLE threads REPLICA IDENTITY USING INDEX threads_uniqueness;