瀏覽代碼

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"