mirror of
https://github.com/Sonarr/Sonarr
synced 2026-05-08 13:01:10 +02:00
New: Ignore Litestream tables in Database
This commit is contained in:
parent
b7dfb8999d
commit
2a26c6722a
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ protected virtual DataSet Read(string template, params object[] args)
|
|||
|
||||
protected virtual IList<TableDefinition> ReadTables()
|
||||
{
|
||||
const string sqlCommand = @"SELECT name, sql FROM sqlite_master WHERE type='table' AND name NOT LIKE 'sqlite_%' ORDER BY name;";
|
||||
const string sqlCommand = @"SELECT name, sql FROM sqlite_master WHERE type='table' AND name NOT LIKE 'sqlite_%' AND name NOT LIKE '_litestream_%' ORDER BY name;";
|
||||
var dtTable = Read(sqlCommand).Tables[0];
|
||||
|
||||
var tableDefinitionList = new List<TableDefinition>();
|
||||
|
|
|
|||
Loading…
Reference in a new issue