diff options
author | 杨宇千 <crupest@outlook.com> | 2019-08-19 16:09:11 +0800 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-08-19 16:09:11 +0800 |
commit | 79e578e97ed252bff0dca3c89d81a395b35289d7 (patch) | |
tree | bd8c0d70aac7cd4d1a6c28ae7c9b7c681dbd5613 /Timeline/Migrations/DatabaseContextModelSnapshot.cs | |
parent | fdca6a03fe4733c739a724a902fa9fe0b0b55edc (diff) | |
download | timeline-79e578e97ed252bff0dca3c89d81a395b35289d7.tar.gz timeline-79e578e97ed252bff0dca3c89d81a395b35289d7.tar.bz2 timeline-79e578e97ed252bff0dca3c89d81a395b35289d7.zip |
Add index for username.
Diffstat (limited to 'Timeline/Migrations/DatabaseContextModelSnapshot.cs')
-rw-r--r-- | Timeline/Migrations/DatabaseContextModelSnapshot.cs | 2 |
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");
});
|