CREATE DATABASE test;
CREATE USER "user" WITH password 'password';
GRANT ALL PRIVILEGES ON DATABASE test TO "user";
