aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Security/AuthenticationRepository.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-19 00:52:49 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-11-19 00:52:49 -0500
commit65a1ef020b205b1676bd7dd70e7261a1fa29b7a2 (patch)
treeb9130379ceead0c3ca1495a7b41ff97baab14040 /Emby.Server.Implementations/Security/AuthenticationRepository.cs
parente58e34ceca52914bd2475c76ede5f7ee91964d00 (diff)
move sync repository to portable project
Diffstat (limited to 'Emby.Server.Implementations/Security/AuthenticationRepository.cs')
-rw-r--r--Emby.Server.Implementations/Security/AuthenticationRepository.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Security/AuthenticationRepository.cs b/Emby.Server.Implementations/Security/AuthenticationRepository.cs
index 5179bd258..f4cb42d29 100644
--- a/Emby.Server.Implementations/Security/AuthenticationRepository.cs
+++ b/Emby.Server.Implementations/Security/AuthenticationRepository.cs
@@ -40,7 +40,9 @@ namespace Emby.Server.Implementations.Security
connection.RunInTransaction(db =>
{
- AddColumn(db, "AccessTokens", "AppVersion", "TEXT");
+ var existingColumnNames = GetColumnNames(db, "AccessTokens");
+
+ AddColumn(db, "AccessTokens", "AppVersion", "TEXT", existingColumnNames);
});
}
}