diff --git a/crowdsec-docs/docs/local_api/database.md b/crowdsec-docs/docs/local_api/database.md index c5cc66dc6..8ec5528e1 100644 --- a/crowdsec-docs/docs/local_api/database.md +++ b/crowdsec-docs/docs/local_api/database.md @@ -45,6 +45,7 @@ Connect to your `PostgreSQL` server and run the following commands: ``` postgres=# CREATE DATABASE crowdsec; postgres=# CREATE USER crowdsec WITH PASSWORD ''; +postgres=# ALTER SCHEMA public owner to crowdsec; postgres=# GRANT ALL PRIVILEGES ON DATABASE crowdsec TO crowdsec; ```