[GEM][Migration] Migrate to PostgreSQL in all environments and also fix debugger gem