rubyforgood / human-essentials

Human Essentials is an inventory management system for diaper, incontinence, and period-supply banks. It supports them in distributing to partners, tracking inventory, and reporting stats and analytics.
https://humanessentials.app
MIT License
436 stars 449 forks source link

Alternate approach -- Changes to address issues with fetch_latest_db after 7.1.3.2 #4389

Closed cielf closed 3 weeks ago

cielf commented 4 weeks ago

Description

An alternate approach to fixing the current issues with fetch_latest_db As per suggestions from @dorner on #4388 -- see that PR for details of the issue. Approach from: https://stackoverflow.com/questions/2369744/rails-postgres-drop-error-database-is-being-accessed-by-other-users

This will just require that folks input their password, rather than having to run two different tasks to get to the final result.

Type of change

How Has This Been Tested?

Ran it after a cold boot. Then signed in and confirmed that the basic functionality works.

dorner commented 3 weeks ago

I'm good with this!