PostgreSQL schema for the Microcosm community CMS