Commit Graph

12 Commits

Author SHA1 Message Date
Gavin Mogan 31da559f89 Fixed: Database type when PG host contains ".db" (#3186)
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
2024-01-12 13:29:06 +02:00
Robin Dadswell 46c2e0ba82 New: Postgres Support
Co-Authored-By: Qstick <376117+Qstick@users.noreply.github.com>
Co-authored-by: ta264 <ta264@users.noreply.github.com>

(cherry picked from commit 80b1aa9a2c81617bdda7ef551c19a2f114e49204)
2022-08-13 19:55:48 +01:00
ta264 b50b0a1411 Swap to dapper with lazyload 2020-02-29 19:44:07 +00:00
Qstick e8d44d1cc2 Add DB Version to About Page (#124) 2017-11-16 11:07:42 -05:00
Qstick f09ef025c5 Fixed: Improved database backup journal handling 2017-10-28 23:54:26 -04:00
Taloth Saldono 6a90035a4c Updated NLog to v4.2.3. 2016-02-11 22:15:12 +01:00
Taloth Saldono 68540cb479 Certain log messages didn't include the exception. 2016-02-07 00:23:13 +01:00
Taloth Saldono 4ca8178ca8 Add db name to Vacuum log message. 2015-05-03 20:52:07 +02:00
Keivan Beigi 0a341199a8 safer log configuration 2014-12-16 23:12:26 -08:00
kayone 3f899f2130 fixed broken tests 2014-02-22 16:22:06 -08:00
kayone 9370de0cc0 New: Main DB is compressed on app start 2014-02-22 16:22:05 -08:00
Mark McDowall 5bf0e197ec Moved source code under src folder - massive change 2013-10-02 18:01:32 -07:00