mirror of
https://github.com/netbirdio/netbird.git
synced 2026-09-14 10:49:07 +02:00
The Postgres and MySQL constructors left the gorm connection open when the migration failed, so the template database still had a session and its drop was refused. The drop now also retries while Postgres reports the database as in use, and logs a warning instead of a debug line when it gives up.