All blocks

Content

Signatures

Simple electronic signatures on a frozen version of a record: drawn, typed or click signatures in parallel or in order, a hash that detects edits after signing, and an approval step a signer can decide.

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

export default defineConfig({
  sql: {
    modules: {
      // Required by signatures; sql add installs them too.
      "updated-at": {},
      tenant: {},
      access: {},
      versions: {},
      // Modes: "managed", "adopt", "custom". The default is "managed".
      signatures: { mode: "managed" },
    },
  },
});