\set ON_ERROR_STOP on
\c nubarchiva

-- Create the schema and set its owner to nubauser
CREATE SCHEMA nuba00001 AUTHORIZATION nubauser;

-- Set default privileges so that nubauser owns all tables created in the schema
ALTER DEFAULT PRIVILEGES IN SCHEMA nuba00001
GRANT ALL ON TABLES TO nubauser;
