All blocks

Platform

Outbox

Events written in the same transaction as the change, read by named consumers with their own cursor and lease, kept for history and relayed as CloudEvents.

DocsModes:managedadoptcustom
terminal
npx better-supabase sql add outbox
better-supabase.config.ts
import { defineConfig } from "better-supabase/config";

export default defineConfig({
  sql: {
    modules: {
      // Modes: "managed", "adopt", "custom". The default is "managed".
      outbox: { mode: "managed" },
    },
  },
});