postgres / init.sql
jarvisx17's picture
Create init.sql
90fa3bc verified
raw
history blame
139 Bytes
CREATE DATABASE mydatabase;
CREATE USER myuser WITH ENCRYPTED PASSWORD 'mypassword';
GRANT ALL PRIVILEGES ON DATABASE mydatabase TO myuser;