Reworked PRAGMA statements use

This commit is contained in:
Bond_009
2019-04-03 17:34:54 +02:00
committed by Bond_009
parent edfd2d0cd9
commit 7898af4ceb
7 changed files with 46 additions and 60 deletions

View File

@@ -45,8 +45,6 @@ namespace Emby.Server.Implementations.Activity
{
using (var connection = GetConnection())
{
RunDefaultInitialization(connection);
connection.RunQueries(new[]
{
"create table if not exists ActivityLog (Id INTEGER PRIMARY KEY, Name TEXT NOT NULL, Overview TEXT, ShortOverview TEXT, Type TEXT NOT NULL, ItemId TEXT, UserId TEXT, DateCreated DATETIME NOT NULL, LogSeverity TEXT NOT NULL)",