diff options
author | 杨宇千 <crupest@outlook.com> | 2019-10-31 14:58:36 +0800 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-10-31 14:58:36 +0800 |
commit | 2c3744ab5db476b64a32c19b50153e3e6166b0e6 (patch) | |
tree | ba42530cf4f13621a7a3a7ff661e383117119883 /Timeline/Migrations/20190817094408_Enhance1.cs | |
parent | 17822cbf9b7e2dcc4ae71fd8c2caa6bec40adc5c (diff) | |
download | timeline-2c3744ab5db476b64a32c19b50153e3e6166b0e6.tar.gz timeline-2c3744ab5db476b64a32c19b50153e3e6166b0e6.tar.bz2 timeline-2c3744ab5db476b64a32c19b50153e3e6166b0e6.zip |
Recreate database and migrations.
Diffstat (limited to 'Timeline/Migrations/20190817094408_Enhance1.cs')
-rw-r--r-- | Timeline/Migrations/20190817094408_Enhance1.cs | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/Timeline/Migrations/20190817094408_Enhance1.cs b/Timeline/Migrations/20190817094408_Enhance1.cs deleted file mode 100644 index 0eae3ef9..00000000 --- a/Timeline/Migrations/20190817094408_Enhance1.cs +++ /dev/null @@ -1,41 +0,0 @@ -using Microsoft.EntityFrameworkCore.Migrations;
-
-namespace Timeline.Migrations
-{
- public partial class Enhance1 : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AlterColumn<long>(
- name: "version",
- table: "user",
- nullable: false,
- defaultValue: 0L,
- oldClrType: typeof(long));
-
- migrationBuilder.AlterColumn<string>(
- name: "name",
- table: "user",
- maxLength: 26,
- nullable: false,
- oldClrType: typeof(string));
- }
-
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AlterColumn<long>(
- name: "version",
- table: "user",
- nullable: false,
- oldClrType: typeof(long),
- oldDefaultValue: 0L);
-
- migrationBuilder.AlterColumn<string>(
- name: "name",
- table: "user",
- nullable: false,
- oldClrType: typeof(string),
- oldMaxLength: 26);
- }
- }
-}
|