diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-07-07 00:55:10 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-09-14 18:47:25 -0400 |
commit | a731f5ea9a75aad682c261d747a5d9c71b3d2773 (patch) | |
tree | 78d7a737e482e6c5acf455254fc8a601f9018f29 /src/SMAPI.Web/Framework | |
parent | 2b3f0e740bc09630e881c9967e5ad53d66384094 (diff) | |
download | SMAPI-a731f5ea9a75aad682c261d747a5d9c71b3d2773.tar.gz SMAPI-a731f5ea9a75aad682c261d747a5d9c71b3d2773.tar.bz2 SMAPI-a731f5ea9a75aad682c261d747a5d9c71b3d2773.zip |
use better index type (#651)
Diffstat (limited to 'src/SMAPI.Web/Framework')
-rw-r--r-- | src/SMAPI.Web/Framework/Caching/Wiki/WikiCacheRepository.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Web/Framework/Caching/Wiki/WikiCacheRepository.cs b/src/SMAPI.Web/Framework/Caching/Wiki/WikiCacheRepository.cs index 5b907462..1ae9d38f 100644 --- a/src/SMAPI.Web/Framework/Caching/Wiki/WikiCacheRepository.cs +++ b/src/SMAPI.Web/Framework/Caching/Wiki/WikiCacheRepository.cs @@ -32,7 +32,7 @@ namespace StardewModdingAPI.Web.Framework.Caching.Wiki this.WikiMods = database.GetCollection<CachedWikiMod>("wiki-mods"); // add indexes if needed - this.WikiMods.Indexes.CreateOne(new CreateIndexModel<CachedWikiMod>(Builders<CachedWikiMod>.IndexKeys.Text(p => p.ID))); + this.WikiMods.Indexes.CreateOne(new CreateIndexModel<CachedWikiMod>(Builders<CachedWikiMod>.IndexKeys.Ascending(p => p.ID))); } /// <summary>Get the cached wiki metadata.</summary> |