supabase/collections.json.
collections.json
Limits: up to 20 collections; names with lowercase letters, numbers,
_ and -, up to 40 characters. The file is read when the backend is deployed. If it contains an error, the previous collections remain and the error appears in the deployment summary.
Use inside a function
Document format
mine indicates whether the caller created the document. The document never shows who created it.
Important rules
- The document must be an object and no larger than 64 KB.
- Up to 10,000 documents per collection.
updateanddeleteonly work for the document’s creator or the script owner, even if the write rule isusersorpublic.

