Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Properly detect a postgres connection #4435

Merged
merged 1 commit into from
Jan 12, 2024

Commits on Jan 12, 2024

  1. Fix: Properly detect a postgres connection

    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#L43
    halkeye committed Jan 12, 2024
    Configuration menu
    Copy the full SHA
    dee9c8b View commit details
    Browse the repository at this point in the history