aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Migrations/20190819080823_AddIndexForUserName.cs
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-10-31 14:58:36 +0800
committer杨宇千 <crupest@outlook.com>2019-10-31 14:58:36 +0800
commit2c3744ab5db476b64a32c19b50153e3e6166b0e6 (patch)
treeba42530cf4f13621a7a3a7ff661e383117119883 /Timeline/Migrations/20190819080823_AddIndexForUserName.cs
parent17822cbf9b7e2dcc4ae71fd8c2caa6bec40adc5c (diff)
downloadtimeline-2c3744ab5db476b64a32c19b50153e3e6166b0e6.tar.gz
timeline-2c3744ab5db476b64a32c19b50153e3e6166b0e6.tar.bz2
timeline-2c3744ab5db476b64a32c19b50153e3e6166b0e6.zip
Recreate database and migrations.
Diffstat (limited to 'Timeline/Migrations/20190819080823_AddIndexForUserName.cs')
-rw-r--r--Timeline/Migrations/20190819080823_AddIndexForUserName.cs22
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");
- }
- }
-}