aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Migrations/DatabaseContextModelSnapshot.cs
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-08-19 16:09:11 +0800
committer杨宇千 <crupest@outlook.com>2019-08-19 16:09:11 +0800
commit9168f07d1f35b5ba670b3c1d900f186ac868284b (patch)
treebd8c0d70aac7cd4d1a6c28ae7c9b7c681dbd5613 /Timeline/Migrations/DatabaseContextModelSnapshot.cs
parent2e1aaf583bb099e175ea9358a6961834a761d861 (diff)
downloadtimeline-9168f07d1f35b5ba670b3c1d900f186ac868284b.tar.gz
timeline-9168f07d1f35b5ba670b3c1d900f186ac868284b.tar.bz2
timeline-9168f07d1f35b5ba670b3c1d900f186ac868284b.zip
Add index for username.
Diffstat (limited to 'Timeline/Migrations/DatabaseContextModelSnapshot.cs')
-rw-r--r--Timeline/Migrations/DatabaseContextModelSnapshot.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Timeline/Migrations/DatabaseContextModelSnapshot.cs b/Timeline/Migrations/DatabaseContextModelSnapshot.cs
index de96dc40..0eb85997 100644
--- a/Timeline/Migrations/DatabaseContextModelSnapshot.cs
+++ b/Timeline/Migrations/DatabaseContextModelSnapshot.cs
@@ -43,6 +43,8 @@ namespace Timeline.Migrations
b.HasKey("Id");
+ b.HasIndex("Name");
+
b.ToTable("users");
});