Fixed: Database type when PG host contains ".db" (#4435)
Previously was looking for a ".db" in the connection string, which is the typical sqlite filename. The problem is if your connection string has a .db anywhere in it, such as postgres.db.internal it'll think its a sqlite file Solution borrowed from sonarr: https://github.com/Sonarr/Sonarr/blob/develop/src/NzbDrone.Core/Datastore/Database.cs#L43pull/4438/head
parent
5661a0a956
commit
a9c19a89f2
Loading…
Reference in new issue