aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Notifications
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-06-12 19:35:22 -0400
committerGitHub <noreply@github.com>2016-06-12 19:35:22 -0400
commitf838ae0a465c5a788637ff30062a706fd26a0876 (patch)
tree1a2cc7c2a18795dbec0bd1951ec1ec6d223a5289 /MediaBrowser.Server.Implementations/Notifications
parent1ffd09b23d890bd84d682ce294ac14c318e687c0 (diff)
parent383110f9af6b5ad79ddabb3c8db0bdb7d4b4db03 (diff)
Merge pull request #1838 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Server.Implementations/Notifications')
-rw-r--r--MediaBrowser.Server.Implementations/Notifications/SqliteNotificationsRepository.cs7
1 files changed, 1 insertions, 6 deletions
diff --git a/MediaBrowser.Server.Implementations/Notifications/SqliteNotificationsRepository.cs b/MediaBrowser.Server.Implementations/Notifications/SqliteNotificationsRepository.cs
index 6c3bc3050e..be8c6d48d6 100644
--- a/MediaBrowser.Server.Implementations/Notifications/SqliteNotificationsRepository.cs
+++ b/MediaBrowser.Server.Implementations/Notifications/SqliteNotificationsRepository.cs
@@ -32,12 +32,7 @@ namespace MediaBrowser.Server.Implementations.Notifications
"create table if not exists Notifications (Id GUID NOT NULL, UserId GUID NOT NULL, Date DATETIME NOT NULL, Name TEXT NOT NULL, Description TEXT, Url TEXT, Level TEXT NOT NULL, IsRead BOOLEAN NOT NULL, Category TEXT NOT NULL, RelatedId TEXT, PRIMARY KEY (Id, UserId))",
"create index if not exists idx_Notifications1 on Notifications(Id)",
- "create index if not exists idx_Notifications2 on Notifications(UserId)",
-
- //pragmas
- "pragma temp_store = memory",
-
- "pragma shrink_memory"
+ "create index if not exists idx_Notifications2 on Notifications(UserId)"
};
connection.RunQueries(queries, Logger);