Skip to main content
Open “Backend” → “Database” in a project connected to Readdy Backend. If you do not know SQL, start in project Chat: describe who should be able to read or change your data and ask for a preview before applying changes.

Choose the Right Tool

Database functions run inside PostgreSQL. Backend Functions are separate HTTP endpoints for server-side code. Neither management SQL nor Table Editor shows what a website visitor is allowed to access. This guide applies to Readdy Backend. For a project connected to an external Supabase account, use that service’s database tools; Readdy Backend’s preparation and confirmation flows do not apply.
Owners and Editors can run permitted ordinary SQL and inspect or preview permissions. Only the Owner can apply or restore permission changes, manage custom roles, enable advanced execution, or confirm advanced database definitions. Viewers cannot use these database management tools. Editor access is not read-only access.
SQL writes affect your connected database. An explicit transaction takes effect for other requests when committed; a later error does not undo an earlier commit. Test unfamiliar changes in a separate project. Neither a preview nor permission history creates a data backup.

Check Project Capabilities

Before an advanced database change, paste this into project Chat and replace the bracketed text with your goal:
Check whether this project’s connected Backend supports [describe your change]. Tell me whether preparation is needed and explain any limits or blockers. Do not enable anything or apply changes yet.
This check does not change your database. You do not need to choose an execution mode yourself; follow the project’s current preview and confirmation flow. If the check blocks your change, ask for a supported alternative instead of retrying through SQL Editor or another identity.

Run SQL

1

Open SQL Editor

Click “SQL Editor” and enter a query. To check the connection, run:
Use the table directory to find your table and column names. For larger tables, add LIMIT 100 to keep results manageable.
2

Run Your Query or Script

Click “Run all” to execute the editor contents, or select complete statements and click “Run selection”.Separate statements with semicolons. If you use a transaction, include BEGIN and its matching COMMIT or ROLLBACK in the same run; you cannot leave a transaction open between clicks.
3

Check the Result

Review the result or error below the editor. Run queries separately when you need to inspect each result in a multi-statement script.After a timeout or lost response, check the affected data before retrying a write—it may already have completed.
SQL Editor supports queries, data changes, and supported table-structure changes in public. Other accessible schemas can be queried, but are not ordinary editor write targets. Tables with product_ or order_ prefixes have additional restrictions on destructive structure changes. On projects with advanced execution enabled, run table-structure changes separately from queries or data changes. A script that mixes them is blocked, even inside BEGIN / COMMIT. Ordinary editor scripts in this mode are limited to 256 KiB and 100 parsed statements, including transaction commands. For access changes, use “Permissions”. For functions, triggers, and other advanced definitions, ask Readdy in Chat. See the SQL examples and limits for custom-role scripts and differences between execution modes.

Change Permissions

1

Select an Object

Click “Permissions” in the database toolbar.
Database toolbar with the Permissions button outlined in red
Choose an “Object category”, then click the name of the table or other object you want to manage.
Complete database object directory with Object category and help_inventory_demo outlined in red
2

Choose the Role and Access

Select the recipient role and the permissions to grant or revoke. For a table, choose “Table grants” or “Column grants” under “Permission scope”.
Complete table permission draft with the selected role and all four table privileges outlined in red
Granting access to authenticated does not limit users to their own records. Use row-level security for that restriction.
3

Preview and Apply

Click “Preview differences” to calculate the proposed permission changes.
Complete table permission draft including the fully visible Preview differences button outlined in red
Check the “Before” and “After” values and read any warnings.
Complete permission preview with the object, role, privilege, Before and After values outlined in red
As the Owner, select the confirmation checkbox and click “Confirm and apply”.
Complete confirmation panel with the selected confirmation and Confirm and apply button outlined in red
If permissions changed after your preview, read the latest permissions and prepare a new preview.
4

Verify Website Access

Use “Read latest permissions”, then test the affected website action as the intended signed-in or signed-out user. Database permission changes take effect without republishing the website.
Complete committed result with the Read latest permissions button outlined in red
If the submission result is uncertain, use “Query original operation” to check it before submitting again.
A revoked direct grant may still be allowed through PUBLIC, a broader table grant, or another permission source. Check “Effective privileges” as well as “Direct grants”. Schema access and row rules can still restrict access.

Supported Permission Changes

Controlled Chat permission requests accept at most 50 operations per request. The combined new-function workflow has separate limits: 16 function-role grant entries and 48 related schema/RLS/policy operations. Catalog and dependency budgets can block smaller plans, so the current project preview must still pass. Project Owner, Editor, and Viewer roles control access to Readdy’s management tools. Database roles control application requests; selecting a role in a permission form does not run SQL Editor as that role. postgres is an administrative identity, and service_role is for trusted servers and bypasses RLS. RLS alone cannot protect a table from that role: review its table grants too. Never expose its key in browser code. Verify the website caller and authorize the requested action before using a privileged client. Superuser and unsupported RLS-bypass roles are filtered from visual grant recipients.
These are access designs, not automatic presets. Review existing grants, policies, defaults, and actual request identities before applying one.
  • Sequences: control access to generated IDs; an insert may need sequence access in addition to table access.
  • Functions: allow or revoke execution of an existing PostgreSQL function. Select the exact argument signature when names repeat. These are separate from Backend Functions.
  • Schemas: allow object lookup; this does not grant access to the tables inside.
  • New object defaults: set grants for future objects created by the selected creator. Existing objects are unchanged.
Database-wide defaults and schema defaults have different scopes: schema defaults add to database defaults. Revoking a schema default cannot remove a database-wide grant. Defaults apply to future objects created by the selected creator, not existing objects or every creator.Views, partitioned tables, foreign tables, procedures, and aggregates are read-only in this editor. Grant options and complex policies also have editing restrictions.
Complete function directory with two lookup_inventory overloads and their distinct signatures outlined in red
As the Owner, open “Permissions” → “Custom roles” → “Create role”. Enter a name starting with a letter, using up to 48 lowercase letters, numbers, or underscores. Add an optional description, select the confirmation checkbox, and submit.Then select that role in an object’s permission editor to grant access. Creating a role does not create a login or automatically assign it to website users. For normal signed-in user access, use authenticated and row policies.Use “Edit description” to change the role’s explanation; renaming and editing security attributes are not supported. Each project supports up to 200 custom roles, with descriptions up to 500 characters. Reserved system names cannot be used.To delete a role, resolve the displayed grants, default privileges, policy references, and other object dependencies first. Readdy does not delete business objects automatically. Deleting and recreating the same name creates a new role identity.
Complete Create role form with its name, description, confirmation and fully visible submission button

Limit Users to Their Own Rows

Use row-level security (RLS) to let signed-in users read their own records while keeping other users’ records private. Follow the Chat flow below to review table access, row rules, and the RLS setting together.

Before You Start

This example uses an existing public.notes table with an owner_id column. Replace these names with your own. You need:
  • Authentication configured and two website test users with at least one record each.
  • An owner_id value on each record that matches its website user’s authentication ID (auth.uid()), using a supported UUID or text column. Readdy project member IDs are different.
  • Website requests that use the signed-in user’s session. A server endpoint using service_role needs its own caller checks because that role bypasses RLS.
If you do not have the table, identity column, or test records, ask Readdy to prepare them in a separate test project first. If the table already supports writes or shared access, include those requirements in your request so enabling RLS does not break them.
For this example to work, the user needs access to the schema and table, RLS must be enabled, and row policies must allow only the intended records. Creating a policy in the visual form does not enable RLS or grant table access.
1

Ask for a Complete Read-Access Plan

Paste this into project Chat, using your actual table and column names:
For public.notes, let signed-in users read only records where owner_id matches their authentication ID. Signed-out visitors must not read any records. Check schema access, table and column grants, existing row policies, and whether RLS is enabled. Show all required permission changes together before applying them. Flag any effect on existing writes or shared access.
This example covers reading records. To allow creating, editing, or deleting records too, describe those actions explicitly.
2

Review Access Before Confirming

Check that the preview targets your table and identifies owner_id as the owner column. The complete plan should provide:
  • Required schema access and SELECT access for authenticated (signed-in users).
  • RLS enabled and a read rule matching each record’s owner_id to the signed-in user.
  • No other read policy that lets visitors or other users see those records.
Ask Readdy to explain any conflicting policy or effect on existing features. If preparation is needed or the plan is blocked, follow Check Project Capabilities before continuing.
3

Confirm and Check the Result

As the Owner, approve the exact preview when it matches your requirements. Wait for the operation result, then ask Readdy to read the current permissions.Continue to testing only after the change is confirmed committed and current permissions match. If the result is unknown, query the original operation instead of submitting again. If it did not commit, fix the reported issue and request a new preview. If current permissions have changed or cannot be verified, resolve that first.
4

Test as Each Website User

Use the website’s normal signed-in requests, not Table Editor or management SQL:Also test a request for another user’s record by its ID. Hiding a record on the page does not prove that database access is denied. If you need help, ask Readdy for test steps using your website’s actual pages and requests. If a result differs, ask it to inspect the request identity, current grants, and all applicable row policies.
Yes, after Readdy verifies that schema and table read access and RLS are already configured, with no broader read policy. Otherwise, use the complete Chat flow above first.Open your table in “Permissions”, select “Row policy draft” under “Permission scope”, and choose “Create policy”. Fill in the example as follows:If a matching policy already exists, review or modify it instead of creating a duplicate. Preview the differences, confirm as the Owner, and run the same website tests above. This form changes only the selected policy; it does not change grants or enable RLS.
Choose “Modify policy” or “Delete policy” to change an existing supported policy. Preview the change and confirm as the Owner. This changes only the selected policy, not table grants, other policies, or the table’s RLS enabled/forced settings.Permissive policies allow access when any applicable permissive policy matches. Restrictive policies add a condition that must also match; a permissive policy must still allow access. Another permissive policy can allow broader access than your owner rule.The visual row-policy form supports SELECT, INSERT, UPDATE, DELETE, and ALL. Use USING for SELECT and DELETE, WITH CHECK for INSERT, and both for UPDATE and ALL. Select up to 16 roles and use one rule or a flat combination of 2–8 rules; this visual form is not an arbitrary SQL policy editor.For shared records, use “Related membership table”. “Database role membership” tests membership of an actual database role, not an application profile field or arbitrary JWT claim. Combine supported rules with “All rules must match” or “Any rule may match”.A related membership rule needs matching join-column types and a UUID or text member-identity column. Self-references, recursive dependencies, and unsupported related policies can prevent previewing. PUBLIC includes every database role; it does not identify one website user.The controlled Chat permission workflow can offer additional rules after project checks: column comparisons, verified boolean functions, nested all / any / not conditions, and supported JWT conditions. Use only the rules advertised for the current project. The controlled rule tree allows at most 64 total condition/grouping nodes and a nesting depth of 8; each all or any group contains 2–8 children. A read-only expression compiler is a limited convenience, not a prerequisite for every structured rule and not a way to run arbitrary SQL.Trusted JWT conditions use server-managed app_metadata; they do not make user-editable profile fields trusted. They read the current request token, so changing server metadata does not rewrite an already-issued JWT. Check token refresh and session handling when testing permission removal.Function predicates require a verified, read-only STABLE or IMMUTABLE function returning one scalar boolean, with at most 16 supported scalar IN arguments. Set-returning, OUT / INOUT, and variadic signatures are not predicate candidates. Matching full argument types, permitted callers, and non-recursive dependencies are still required. A function that reads the policy’s own target table can be rejected to prevent recursive access.Choose volatility to match the behavior: do not declare a function IMMUTABLE if it reads changeable table data or request identity from session/JWT state. Use the appropriate STABLE declaration and verified dependencies; changing the label does not prove safety. See PostgreSQL’s function volatility definitions.
With RLS enabled and no applicable permissive policy, ordinary website roles are denied row access even when they have a table grant. Disabling RLS leaves policies stored but unenforced.FORCE ROW LEVEL SECURITY can cover the table owner, but it does not make superuser or BYPASSRLS roles follow row policies. RLS also does not govern whole-table privileges such as TRUNCATE or REFERENCES; a policy for ALL covers row commands, not every database privilege.Ask Readdy to review these settings in the permission plan. The visual policy form does not change them.

Restore a Permission Change

1

Find the Operation

Open “Permissions” → “Operation history” and click “Review restoration” on a supported operation.
Complete operation history entry with its Review restoration button outlined in red
2

Review What Will Be Restored

Select the permission settings to restore, then click “Prepare restoration preview”. Review the current and proposed values.
Complete restoration draft with the selected permission dimension and Prepare restoration preview button outlined in red
If later changes conflict with the operation, restoration is blocked. Review current permissions and prepare a new change instead.
3

Confirm the Restoration

As the Owner, select the confirmation checkbox and click “Confirm and apply”. Check the result and test website access again.
Complete restoration plan including differences, warnings, confirmation and the fully visible Confirm and apply button
Restoration creates a new operation in history. It restores only the selected supported permissions—not table rows, dropped objects, deleted custom-role identities, or the entire database. Use a separately verified backup and recovery procedure for data or structure changes. Operation history is not a complete log of SQL Editor activity.
History shows up to 50 operations per page for the currently connected database. Use “Next page” and “First page” to navigate. Custom-role changes have a separate recent history in “Custom roles”.Historical success does not prove current access. Restoration is limited to supported settings in the current database connection and cannot overwrite conflicting later changes.

SQL Examples and Limits

Use the examples below in a separate test project.
Use the project capability check; Readdy reads the current mode for you.Before advanced execution is enabled, SQL Editor accepts supported row-policy SQL and Owner-only public-object grants. After it is enabled, built-in-role grants and row-policy changes use the permission workflow; functions, schemas, and named trigger changes use the advanced-definition workflow.Supported scripts that create or reference a project custom role use a separate Owner-only transaction in either mode. This path does not allow unrestricted SQL.
In a test project, first run this statement on its own to create the example table:
If the table already exists, choose another name and update every reference. Do not drop an existing table to run an example.Then run this data-only transaction separately:
The second run commits the inserted rows. These two runs are separate operations; rolling back the data transaction does not undo the earlier table creation.
This script makes a temporary change and then rolls it back:
The final query shows the stored quantity after rollback. A result displayed before a rollback would not prove that the temporary value was saved.Roll back only part of the work
Only the first update is committed. Savepoints must be inside an open transaction.
As the Owner, you can submit supported project custom-role SQL through the editor. Readdy routes scripts that create or reference a custom role through its dedicated role-management transaction, including on advanced projects. This example requires the earlier example table:
Use the project-visible role name in supported SQL, rather than copying an internal database technical name. If the role already exists, omit the CREATE ROLE statement and grant access to that role, or choose an unused name and update every reference.Scripts that create, delete, or reference a custom role execute as one atomic transaction. You can omit the transaction wrapper or use a single BEGIN / COMMIT wrapper. Do not include intermediate commits, a final rollback, transaction-mode overrides, or statements after the closing commit in a custom-role script.
Run these examples as the Owner after creating the example table and report_reader. Their custom-role references use the dedicated role-management path. SQL object grants and revocations must explicitly target allowed objects in public. For built-in API roles on an advanced project, use “Permissions” or the controlled Chat permission flow instead.Grant read access to the table:
Remove that direct grant:
Grant access to selected columns instead:
Remember that another table-level grant, PUBLIC, or inheritance can still provide broader access. A column-level REVOKE does not override a table-level SELECT grant.Object grants and defaults solve different problems. A grant on all current tables does not automatically cover future tables. If you deliberately need every current table in public, the SQL Editor also supports:
Prefer named tables when the role only needs a few of them. A schema-wide grant can include platform-managed business tables as well as your own tables. Equivalent supported object groups include existing sequences and functions, with their applicable privileges.For future tables instead, set a default:
This applies to future tables created by the executing creator role in public. It does not modify existing tables.To remove the corresponding default:
The SQL Editor requires IN SCHEMA public for default-privilege changes and does not support using FOR ROLE or FOR USER to change another creator’s defaults. The visual directory may offer database-scoped defaults; that does not expand the SQL Editor’s accepted syntax.
  • On projects with advanced execution enabled, ordinary editor scripts are limited to 256 KiB and 100 parsed statements, including transaction commands. Do not mix table-structure changes with queries or data changes in one run.
  • Results show the last result set containing rows; there are no separate result tabs for every statement.
  • Responses larger than 5 MiB are rejected. This error does not prove that earlier writes rolled back. Add an explicit SQL LIMIT; the results-area caption is not a pagination guarantee.
  • Ordinary SQL has a 30-second per-statement timeout, not a guaranteed total script duration. The dedicated custom-role script path uses a 15-second statement timeout and a 20-second transaction budget; controlled operations can have their own stricter limits.
  • Each explicit transaction must finish in the same run. Savepoints are supported; nested, prepared, and interactive cross-request transactions are not.
  • Scripts creating, deleting, or referencing custom roles execute as one atomic transaction. Use no wrapper or one plain BEGIN / COMMIT wrapper; do not add intermediate commits, a final rollback, or statements after the closing commit.
  • The editor supports up to 10 query tabs. Closing a tab or leaving the editor does not cancel SQL already sent to the server. After a lost response, inspect current data before retrying.
  • Arbitrary CREATE FUNCTION or DO is not an editor workflow. Use the controlled advanced-definition flow for supported cases. CREATE PROCEDURE, role-membership grants, login/password management, SET ROLE / RESET ROLE, and unrestricted COPY are not supported user workflows.
Rollback does not reclaim allocated sequence values or undo setval changes, and it cannot reverse external actions performed by a function. See the PostgreSQL sequence reference.

Use Advanced Database Definitions

Ask Readdy in project Chat to create a PostgreSQL function, trigger, business schema, or supported DO data block. Readdy checks the change and asks the Owner to confirm it before applying.

Review and Confirm the Change

1

Describe the Exact Scope

Describe the behavior, affected tables, and who should be allowed to call the function. For example: “Create a server-only inventory update function and show its definition and permissions before applying it.”
2

Check Project Readiness

Readdy checks the connected database, capabilities, ownership, and dependencies. If preparation is required, the Owner reviews the affected objects, default permissions, runtime changes, and warnings first. Preparation can change management ownership and access; existing API keys, JWTs, and website roles are intended to remain compatible.A paused, changed, incompatible, or shared Backend can block preparation. A copied project may still share a database. Resolve the reported block before continuing; do not disconnect a live Backend or switch identities to bypass it.
3

Approve the Current Preview

Review the exact SQL, affected objects, permissions, row rules, and warnings, then choose the explicit approval option as the Owner. Confirmations are single-use and expire after 10 minutes. A changed plan needs a fresh confirmation; an earlier approval or an Editor’s answer does not authorize it.Standalone preparation does not apply your requested change. If a preview includes both preparation and the change, wait for the final database result, not just preparation success.
4

Verify the Original Operation

Keep the operation ID and ask Readdy to check it until the outcome is known. Continue preparation only when its status allows it; changed objects or ownership can require another review.Committed confirms the database change, while current verification can still be matching, changed, or unavailable. Test the intended behavior separately. A preview or successful website build does not prove the definition was installed.

Supported Definitions and Their Conditions

Each advanced definition accepts one complete SQL statement, at most 64 KiB. Review the detailed syntax limits below before preparing a definition.
The combined workflow accepts one new function with supported execution grants, schema access, RLS settings, and policies in one transaction. It does not accept an existing function or CREATE OR REPLACE FUNCTION.It cannot create dependency tables, install several routines, create roles, change Data API exposure, or change table, column, sequence, or future-object grants. Separate confirmed operations are not one atomic installation. If your required transaction includes these changes, do not split it or remove protections to force it through.
On a project still using the original execution path, Chat SQL can submit a validated migration with public-table changes, supported public-object grants and row policies, CTEs, EXPLAIN, and selected SHOW settings. A narrow ordinary-function path accepts explicitly qualified public functions with LANGUAGE sql SECURITY INVOKER and supported query/data-change bodies. It does not accept PL/pgSQL, DO, SECURITY DEFINER, custom-role creation, ownership transfer, or schema moves.Chat migrations are limited to 256 KiB and 100 parsed statements. They support one complete outer transaction, with savepoints inside it. Transactions, multi-statement migrations, and risky structure, permission, or destructive changes require the Owner; operations with reported risks wait for the exact confirmation. This is not the same parser or confirmation behavior as typing SQL directly into the editor.Once advanced execution is enabled, managed changes must use their applicable controlled workflow; the old migration route does not bypass that requirement. Ask Readdy to inspect the project’s actual capability instead of assuming that a previous Chat script remains executable. SQL execution is not a full migration-history or backup system.
The controlled parser accepts supported queries and INSERT, UPDATE, and DELETE, including verified CTEs and ON CONFLICT. Static PL/pgSQL can use supported assignments, conditions, loops, returns, and exception handling. Every referenced expression and indirect dependency must still pass validation.Use an AS $$ ... $$ source body; SQL-standard BEGIN ATOMIC function bodies are not accepted. Common built-in scalar types, arrays, record, void, and trigger are supported where valid. Custom domains, enums, composite table-row types, %TYPE, and %ROWTYPE are not supported routine types. Use supported built-in declarations and explicitly qualify business tables and called business functions.Advanced dependencies must be eligible ordinary permanent business tables and verified functions. Views, partitioned or foreign tables, custom types, unsupported rules, and unverified triggers or constraint callbacks can block a definition. Selected platform-verified identity functions such as auth.uid() and auth.jwt() can be allowed; this does not grant access to Auth records or arbitrary system functions.Supported function options include volatility and strictness. Readdy sets the execution search path; customer-supplied SET search_path or other per-function configuration is not accepted. Not every built-in PostgreSQL function or expression is allowed. For example, do not assume make_interval is accepted because PostgreSQL supports it; a supported interval expression can require a reviewed rewrite.Ordinary triggers can cover supported insert, update, delete, and statement-level truncate events. Constraint or deferred triggers, event triggers, INSTEAD OF, transition tables, ENABLE ALWAYS / ENABLE REPLICA, and broad trigger-disable commands are not supported. A truncate event cannot be a row-level trigger.The workflow rejects dynamic EXECUTE, database administration, transaction control inside routines, unsupported cursor operations, unverified callbacks, arbitrary system-function calls, and languages other than the supported SQL/PL/pgSQL subset. An unsupported expression does not mean that every structured alternative is unavailable.
SECURITY INVOKER uses the caller’s database access. Granting EXECUTE does not grant access to the tables used by its body.A controlled SECURITY DEFINER function runs with a platform-managed, limited database identity. Its preview lists the tables, commands, sequences, called functions, and possible indirect effects it needs. This is not superuser access and does not let you choose an owner or bypass project checks.Its permitted access is a static upper bound, not a claim that every listed branch runs on every call. The function has its own row-policy context; it does not automatically enforce the caller’s row restrictions. Put the intended authorization checks in the reviewed design and test them as each real caller.Default argument expressions are evaluated in the caller’s context before entering a DEFINER body; omitting an argument can still require the caller’s own access.A newly created controlled definition removes implicit execution grants. For directly called functions, request the exact permitted callers, such as service_role, explicitly. Replacing an accepted existing function preserves its external caller grants, which can include PUBLIC; replacement is not an automatic permission reset.Calling the function also requires schema access and, for REST RPC, appropriate Data API exposure. A supported database definition does not guarantee that every overload or return shape is callable through REST; test the actual RPC with the intended API client.
No. Readdy checks the current owner, exact input signature, body, execution mode, and dependency records. Historical administrator-owned or unverified privileged functions can remain read-only even when similarly named new functions are supported.CREATE OR REPLACE FUNCTION can update an eligible definition, but cannot silently change its return type or replace an unrelated overload. Signature changes and incompatible behavior need a separate migration plan. Dropping and recreating a function creates a new object; old grants and dependencies are not carried forward automatically. Supported deletion targets one named function, trigger, or empty schema with dependency restrictions; CASCADE and broad trigger-disable commands are not supported.Keep a reviewed previous definition and a separate data recovery plan. Reapplying that definition requires a new preview and approval. Permission restoration does not restore dropped functions, undo a committed data block, or recover deleted records.

Keep Server Data Private

A table in public is not necessarily public to website users, and a non-public schema is not automatically secure. Access depends on schema permissions, table or column grants, row rules, function execution rights, and Data API exposure together. For server-only data, ask for a complete permission plan. Review existing defaults before creating it; defaults can grant anon or authenticated access to new tables. Close unwanted grants in the creation transaction where the supported workflow permits it. Do not leave a sensitive table temporarily accessible between separate operations. If all writes must go through a controlled function, remove direct table writes from service_role as well as website roles, and grant only the approved function signature. A design allowing server-role direct conditional updates has a different write boundary; it is not the same protection as function-only writes. Database grants do not add caller checks to a Backend Function HTTP endpoint. If that endpoint uses service_role, its own authentication and authorization must decide who can trigger the privileged action. Revoking website table or RPC grants does not close that separate entry point.

Expose a Business Schema to the Data API

Creating a schema does not expose it through REST, and exposing it does not grant schema usage, table access, function execution, or row access. Ask Readdy in Chat to inspect current Data API exposure and preview only the schema you intend to add or remove, then review and confirm as the Owner. Exposure changes use a separate confirmed operation; they cannot be combined with database grants or policies in the same permission request. A committed exposure setting and a ready REST API are separate checks. Removing a schema from the API does not delete its database objects or revoke its grants. The workflow does not remove the default public exposure or expose protected system schemas. The exposure list supports at most 64 schema entries, including existing entries; this is not a quota for all schemas in the database. The general Permissions form does not create advanced definitions or provide every advanced rule. Do not substitute a similarly named button or an ordinary SQL script for the supported Chat workflow.
A database rollback cannot undo a payment, CRM update, webhook, or sent message. Use the provider’s duplicate-request protection and check its receipts before retrying an uncertain result.Test with isolated credentials and destinations. A separate test database can still affect production if its functions call real services.

Troubleshooting

The ordinary editor and controlled database workflows have different boundaries. An error about dynamic code or public-schema permission targets does not mean PostgreSQL lacks the feature. Ask Readdy to inspect the current capability and propose a supported definition or structured permission plan. Owner access alone does not make arbitrary SQL available.
Read the actual reason: project preparation, binding changes, ownership, a protected object, an unverified dependency, or unsupported syntax can each block it. Correct the identified issue and request a new preview where needed. Do not remove requested protections or retry through a different identity. A local build or syntax check cannot prove that project-level admission passed.
Keep the original operation ID and ask Readdy to query it. Do not submit the same write again or start a new operation to force progress. A historical commit with unavailable current verification is not a rollback. For ordinary SQL without a recoverable operation receipt, inspect the affected database state before deciding whether to retry.
No. Previewing a definition does not execute it, but approved preparation and changes affect the connected Backend. Test functions can still call real external services. Confirm isolated credentials and destinations, cleanup, plan usage, and any third-party charges before running acceptance tests.
Only the Owner can apply changes. Check the confirmation checkbox and any displayed warnings. If the preview is outdated, read the latest permissions and prepare a new one.
Check the actual request role, “Effective privileges”, and the table’s row policies. For inserts, also check generated-ID sequence access and the policy’s “Written rows (WITH CHECK)” rule. Updates or deletes that read columns, and writes with RETURNING, can also require SELECT rights and a matching read policy. Upserts can also need read access and must satisfy the insert path and, when taken, the update path; ON CONFLICT does not bypass RLS.
A row rule can silently filter records from reads, updates, or deletes. Confirm the actual caller, filters, and row policy; an empty result is not proof that the table is empty. A failed WITH CHECK normally raises an error; see PostgreSQL’s policy command rules. For a claim or completion update, check the explicit operation result before treating it as acquired or completed.
Complex policies or policies modified outside the supported visual builder may be read-only. The builder cannot edit every SQL policy expression.
Check your project membership and Readdy Backend connection. If your project uses an external Supabase integration, manage it through Supabase’s own tools.

PostgreSQL References

For background, see PostgreSQL’s privileges, row security, transactions, and default privileges. These references explain database behavior; Readdy supports the subset described in this guide.

Need Help?

If this guide doesn’t resolve your issue, submit a support ticket. We’re here to help!