Before you create a PostgreSQL workspace
Last updated
Last updated
The source and destination databases must exist before you connect to them. They should use the same version of PostgreSQL and must have the same extensions installed.
Use the following instructions to create database accounts that have the minimum required permissions that are needed for Tonic to function.
The following is an example of how to create a new user, called tonic
, and grant the necessary permissions on the public
schema.
For the source database, we recommend that you use a backup instead of connecting directly to your production environment.
If your database contains additional schemas that are included, then you must run the same commands for those schemas.
The following is an example of how to create a new user, called tonic
, grant the user ownership of the public
schema, and make the user a superuser.
If your database contains additional schemas that are included, then you must run the same commands for those schemas.