diff options
author | 杨宇千 <crupest@outlook.com> | 2019-10-31 15:02:03 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-31 15:02:03 +0800 |
commit | 2de7fa95bb5ad0a10f74fb390bac464a250dee42 (patch) | |
tree | ba42530cf4f13621a7a3a7ff661e383117119883 /Timeline/Migrations/20190819080823_AddIndexForUserName.cs | |
parent | f08f53d6fcd9baf9dd3b95209f7c7448ae8168d4 (diff) | |
parent | cf2055f956695bc0b9ecdb6d8023d0d199b98462 (diff) | |
download | timeline-2de7fa95bb5ad0a10f74fb390bac464a250dee42.tar.gz timeline-2de7fa95bb5ad0a10f74fb390bac464a250dee42.tar.bz2 timeline-2de7fa95bb5ad0a10f74fb390bac464a250dee42.zip |
Merge pull request #53 from crupest/nickname
Add nickname support.
Diffstat (limited to 'Timeline/Migrations/20190819080823_AddIndexForUserName.cs')
-rw-r--r-- | Timeline/Migrations/20190819080823_AddIndexForUserName.cs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/Timeline/Migrations/20190819080823_AddIndexForUserName.cs b/Timeline/Migrations/20190819080823_AddIndexForUserName.cs deleted file mode 100644 index b910a174..00000000 --- a/Timeline/Migrations/20190819080823_AddIndexForUserName.cs +++ /dev/null @@ -1,22 +0,0 @@ -using Microsoft.EntityFrameworkCore.Migrations;
-
-namespace Timeline.Migrations
-{
- public partial class AddIndexForUserName : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.CreateIndex(
- name: "IX_users_name",
- table: "users",
- column: "name");
- }
-
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.DropIndex(
- name: "IX_users_name",
- table: "users");
- }
- }
-}
|