Anonymous

Changes

From NixNet
79 bytes added ,  04:51, 4 July 2021
m
add db owner modification command
*Create user: <code>CREATE ROLE app_user WITH LOGIN ENCRYPTED PASSWORD 'password';</code>
*Create database: <code>CREATE DATABASE app WITH OWNER app_user;</code>
*Modify database owner: <code>ALTER DATABASE app OWNER TO new_app_user;</code>
*Connect/use database: <code>\c <database></code>