PostgreSQL database schema for the CogniCity framework