Commit fd9d045d authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Update 01_create_db_user.sql

parent 7e427632
Loading
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -2,9 +2,7 @@
-- DATABASE, USER, ETC.
--

-- Databases
create database :dbname with ENCODING = 'UTF-8';
-- Users
create user :dbuser with encrypted password :dbpassword NOSUPERUSER NOCREATEDB;
-- Grants
alter database :dbname owner to :dbuser;
grant all privileges on database :dbname to :dbuser;