aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Devices/SqliteDeviceRepository.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-10-22 02:22:43 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-10-22 02:22:43 -0400
commit7e5036a5875cb7f03ad728f970d66471ca30236b (patch)
tree31bb5509c42e490e1359483b7f047f63499317d6 /Emby.Server.Implementations/Devices/SqliteDeviceRepository.cs
parent7e2c52936ff15c2569a5cb6b3c5351c16c4163ff (diff)
update image aspect ratio detection
Diffstat (limited to 'Emby.Server.Implementations/Devices/SqliteDeviceRepository.cs')
-rw-r--r--Emby.Server.Implementations/Devices/SqliteDeviceRepository.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Devices/SqliteDeviceRepository.cs b/Emby.Server.Implementations/Devices/SqliteDeviceRepository.cs
index a15eb3558..b11a5d65b 100644
--- a/Emby.Server.Implementations/Devices/SqliteDeviceRepository.cs
+++ b/Emby.Server.Implementations/Devices/SqliteDeviceRepository.cs
@@ -60,7 +60,7 @@ namespace Emby.Server.Implementations.Devices
RunDefaultInitialization(connection);
string[] queries = {
- "create table if not exists Devices (Id TEXT PRIMARY KEY, Name TEXT, ReportedName TEXT, CustomName TEXT, CameraUploadPath TEXT, LastUserName TEXT, AppName TEXT, AppVersion TEXT, LastUserId TEXT, DateLastModified DATETIME, Capabilities TEXT)",
+ "create table if not exists Devices (Id TEXT PRIMARY KEY, Name TEXT NOT NULL, ReportedName TEXT NOT NULL, CustomName TEXT, CameraUploadPath TEXT, LastUserName TEXT NOT NULL, AppName TEXT NOT NULL, AppVersion TEXT NOT NULL, LastUserId TEXT NOT NULL, DateLastModified DATETIME NOT NULL, Capabilities TEXT NOT NULL)",
"create index if not exists idx_id on Devices(Id)"
};