-- Per-domain databases for the coop stack.
-- Run once on fresh deployments (not needed for existing single-DB setups
-- that use the split-databases.sh migration script instead).
--
-- Usage:  psql -U postgres -f init-databases.sql

CREATE DATABASE db_account;
CREATE DATABASE db_blog;
CREATE DATABASE db_market;   -- also houses cart tables (commerce bounded context)
CREATE DATABASE db_events;
CREATE DATABASE db_federation;
