Required Permissions
For Stacksync to sync data from/to your Postgres, Stacksync requires a given set of permissions. These are the least minimal permissions require for Stacksync to work.
When creating a Postgres sync on Stacksync Dashboard, you will need to provide a DB user. Here is a guide to create a user with the least permissions while still enabling Stacksync Syncs from/to your Postgres DB.
Here is the list of queries you need to execute in your Postgres DB to create and grant the db user stacksync_user
the necessary permissions.
You need to replace the following fields in the query:
'<PROVIDE_STRONG_PASSWORD>'
'<
SCHEMA_NAME_CONTAINING_THE_TABLES_YOU_WANT_TO_SYNC>'
'<
NAMES_OF_TABLES_YOU_WANT_TO_SYNC>'
Last updated