aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Migrations/20190412153003_MakeColumnsInUserNotNull.cs
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-10-31 15:02:03 +0800
committerGitHub <noreply@github.com>2019-10-31 15:02:03 +0800
commit37a2e6340ab20de1f9e847d795c0cbec9846de97 (patch)
treeba42530cf4f13621a7a3a7ff661e383117119883 /Timeline/Migrations/20190412153003_MakeColumnsInUserNotNull.cs
parenta175f8328d7a6c36464676d54fc50d03e64be0af (diff)
parent2c3744ab5db476b64a32c19b50153e3e6166b0e6 (diff)
downloadtimeline-37a2e6340ab20de1f9e847d795c0cbec9846de97.tar.gz
timeline-37a2e6340ab20de1f9e847d795c0cbec9846de97.tar.bz2
timeline-37a2e6340ab20de1f9e847d795c0cbec9846de97.zip
Merge pull request #53 from crupest/nickname
Add nickname support.
Diffstat (limited to 'Timeline/Migrations/20190412153003_MakeColumnsInUserNotNull.cs')
-rw-r--r--Timeline/Migrations/20190412153003_MakeColumnsInUserNotNull.cs52
1 files changed, 0 insertions, 52 deletions
diff --git a/Timeline/Migrations/20190412153003_MakeColumnsInUserNotNull.cs b/Timeline/Migrations/20190412153003_MakeColumnsInUserNotNull.cs
deleted file mode 100644
index 12053906..00000000
--- a/Timeline/Migrations/20190412153003_MakeColumnsInUserNotNull.cs
+++ /dev/null
@@ -1,52 +0,0 @@
-using Microsoft.EntityFrameworkCore.Migrations;
-
-namespace Timeline.Migrations
-{
- public partial class MakeColumnsInUserNotNull : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AlterColumn<string>(
- name: "roles",
- table: "user",
- nullable: false,
- oldClrType: typeof(string),
- oldNullable: true);
-
- migrationBuilder.AlterColumn<string>(
- name: "name",
- table: "user",
- nullable: false,
- oldClrType: typeof(string),
- oldNullable: true);
-
- migrationBuilder.AlterColumn<string>(
- name: "password",
- table: "user",
- nullable: false,
- oldClrType: typeof(string),
- oldNullable: true);
- }
-
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AlterColumn<string>(
- name: "roles",
- table: "user",
- nullable: true,
- oldClrType: typeof(string));
-
- migrationBuilder.AlterColumn<string>(
- name: "name",
- table: "user",
- nullable: true,
- oldClrType: typeof(string));
-
- migrationBuilder.AlterColumn<string>(
- name: "password",
- table: "user",
- nullable: true,
- oldClrType: typeof(string));
- }
- }
-}