Give ownership rights on database to role:
echo 'ALTER DATABASE "voice-messaging-api" OWNER TO "voicemsg"' | sudo su - postgres -c psql
Give CREATEDB
rights to role:
echo 'ALTER ROLE "voicemsg" CREATEDB' | sudo su - postgres -c psql
Give ownership rights on database to role:
echo 'ALTER DATABASE "voice-messaging-api" OWNER TO "voicemsg"' | sudo su - postgres -c psql
Give CREATEDB
rights to role:
echo 'ALTER ROLE "voicemsg" CREATEDB' | sudo su - postgres -c psql