.env.local; to override, pass the
global flags before the command (result --url <url> --key <key> <command>).
Run result <command> --help for full flags.
init
AGENTS.md/CLAUDE.md.
Idempotent - re-run any time.
status
db
db create-table
- Column spec:
name:type[:required][:unique] - Types:
string,integer,float,boolean,datetime,date,json,uuid id,created_at,updated_atare added automatically - never spec them- RLS is on by default; a
user_iduuid column scopes rows to the signed-in user.--no-rlsfor shared/public data.
db migrate
create-table can’t express: indexes, custom RLS
policies, triggers, extensions (pgvector). Versioning is automatic; the
migration already runs in one transaction, so never write BEGIN/COMMIT.
storage
realtime
% is a wildcard - chat:% covers chat:room-1, chat:room-2, etc.
Clients cannot subscribe until a pattern covers the channel.
functions
$NEXT_PUBLIC_BACKEND_URL/functions/my-fn.
secrets
Deno.env.get("STRIPE_KEY"). Treat secrets as
permanent - deletion is unreliable on current backend versions.
payments
stripe, razorpay. Environments: test, live. Razorpay
needs both --key-id and --secret-key; Stripe only --secret-key.
Webhooks are configured automatically on connect.