[Question] psql setup script
The setup script creates the "pleroma_dev" database. Is there any reason to give the user CREATEDB
privilege?
On a recent setup, I did not had any trouble with a user without this privilege.
Also the script alter the user immediately after creation mentioning an issue with running the script twice. On second run, I think the script will also fail on database creation. Is there any reason to handle the situation where a user run this script multiple time?
I'm under the impression that this script could be simplified. What do you think?