Przeglądaj źródła

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

jeremystretch 2 lat temu
rodzic
commit
6f08c4a4be
1 zmienionych plików z 1 dodań i 1 usunięć
  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
 ```postgresql
 CREATE DATABASE netbox;
 CREATE DATABASE netbox;
 CREATE USER netbox WITH PASSWORD 'J5brHrAXFLQSif0K';
 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"
 !!! danger "Use a strong password"