Fixing config.ru to run the database migration on startup