moving from MongoDB to PostgreSQL (because hosting vs large dataset)