mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Added some indexes
This commit is contained in:
parent
bc0b1e8ae4
commit
3e61afab03
2 changed files with 26 additions and 0 deletions
|
@ -59,6 +59,11 @@ namespace NzbDrone.Core.Datastore
|
|||
engine.CreateDatabase();
|
||||
}
|
||||
}
|
||||
|
||||
public static string GetIndexName(string tableName, params string[] columns)
|
||||
{
|
||||
return String.Format("IX_{0}_{1}", tableName, String.Join("_", columns));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue