mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 04:15:04 +03:00
chore: document how to migrate external database
This commit is contained in:
1 parent
f3db9d9b64
commit
60e42bcbda
1 file changed
+4
@@ -95,6 +95,10 @@ POSTGRES_PORT=5432
|
||||
|
||||
Once you have done this, you can safely comment out the `db` section of the `docker-compose` file, and remove any instances where the services `depends_on` the `db` image.
|
||||
|
||||
Supabase services require your external database to be initialized with a specific schema. Refer to our [postgres/migrations](https://github.com/supabase/postgres/tree/develop/migrations) repository for instructions on running these migrations.
|
||||
|
||||
Note that you need superuser permission on the postgres role to perform the initial schema migration. Once completed, the postgres role will be demoted to non-superuser to prevent abuse.
|
||||
|
||||
### Setting database's `log_min_messages`
|
||||
|
||||
By default, `docker compose` sets the database's `log_min_messages` configuration to `fatal` to prevent redundant logs generated by Realtime.
|
||||
|
||||
Reference in new issue
Block a user