pleroma/otp/templates/setup_db.psql.j2
changeset 227 2e0366f2dcbe
parent 103 78a072bbf3c1
--- a/pleroma/otp/templates/setup_db.psql.j2	Sun Jan 21 15:58:58 2024 -0600
+++ b/pleroma/otp/templates/setup_db.psql.j2	Sun Feb 04 20:27:19 2024 -0600
@@ -1,4 +1,5 @@
-CREATE USER {{pleroma_db_user}} WITH ENCRYPTED PASSWORD '{{pleroma_db_passwd}}';
+CREATE USER {{pleroma_db_user}};
+ALTER USER {{pleroma_db_user}} WITH ENCRYPTED PASSWORD '{{pleroma_db_passwd}}';
 CREATE DATABASE {{pleroma_db}} WITH OWNER {{pleroma_db_user}};
 \c {{pleroma_db}};
 --Extensions made by ecto.migrate that need superuser access