CREATE database sos; create schema sos; create user sos with encrypted password 'password'; grant all privileges on database sos to sos; grant usage on schema public to sos; grant usage on schema sos to sos; alter default privileges in schema public grant all privileges on all tables to sos; alter default privileges in schema sos grant all privileges on all tables to sos; alter default privileges in schema sos grant all privileges on all procedures to sos; grant all privileges on all tables in schema public to sos; grant all privileges on all tables in schema sos to sos; create extension if not exists "uuid-ossp"; CREATE EXTENSION IF NOT EXISTS citext;