Added two versions of the database schema (SQLite and PostgreSQL)