migrated application from mysql2->postgresql so that I can deploy to heroku