CREATE USER pubsub WITH PASSWORD 'pubsub';

GRANT ALL ON ALL TABLES IN SCHEMA public TO pubsub;
GRANT ALL ON ALL SEQUENCES IN SCHEMA public TO pubsub;
GRANT ALL ON ALL FUNCTIONS IN SCHEMA public TO pubsub;
