-- PLC
CREATE DATABASE plc;
GRANT ALL PRIVILEGES ON DATABASE plc TO postgres;

-- BGS
CREATE DATABASE bgs;
CREATE DATABASE carstore;
GRANT ALL PRIVILEGES ON DATABASE bgs TO postgres;
GRANT ALL PRIVILEGES ON DATABASE carstore TO postgres;

-- bsky(AppView)
--CREATE DATABASE appview;
--GRANT ALL PRIVILEGES ON DATABASE appview TO postgres;
CREATE DATABASE bsky;
GRANT ALL PRIVILEGES ON DATABASE bsky TO postgres;

-- ozone(Moderation)
--CREATE DATABASE moderation;
--GRANT ALL PRIVILEGES ON DATABASE moderation TO postgres;
CREATE DATABASE ozone;
GRANT ALL PRIVILEGES ON DATABASE ozone TO postgres;

-- search(palomar)
CREATE DATABASE search;
GRANT ALL PRIVILEGES ON DATABASE search TO postgres;
--CREATE DATABASE palomar;
--GRANT ALL PRIVILEGES ON DATABASE palomar TO postgres;

-- PDS
CREATE DATABASE pds;
GRANT ALL PRIVILEGES ON DATABASE pds TO postgres;

-- BSYNC
CREATE DATABASE bsync;
GRANT ALL PRIVILEGES ON DATABASE bsync TO postgres;
