Migrated database from SQLite to PostgreSQL