Преглед изворни кода

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

jeremystretch пре 2 година
родитељ
комит
6f08c4a4be
1 измењених фајлова са 1 додато и 1 уклоњено
  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"