Просмотр исходного кода

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

jeremystretch 2 лет назад
Родитель
Сommit
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"