Explorar o código

Fixes #11846: Update database creation instructions for PostgreSQL 14+

jeremystretch %!s(int64=2) %!d(string=hai) anos
pai
achega
6f08c4a4be
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      docs/installation/1-postgresql.md

+ 1 - 1
docs/installation/1-postgresql.md

@@ -54,7 +54,7 @@ Within the shell, enter the following commands to create the database and user (
 ```postgresql
 CREATE DATABASE netbox;
 CREATE USER netbox WITH PASSWORD 'J5brHrAXFLQSif0K';
-GRANT ALL PRIVILEGES ON DATABASE netbox TO netbox;
+ALTER DATABASE netbox OWNER TO netbox;
 ```
 
 !!! danger "Use a strong password"