#!/bin/bash
psql -U postgres << EOF
create database ehasa;
\c ehasa;
create user ehasa;
alter user ehasa with encrypted password 'salasana';
grant all privileges on database ehasa to ehasa;
create extension "uuid-ossp";
EOF

