diff options
| author | crupest <crupest@outlook.com> | 2020-08-31 22:49:57 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-31 22:49:57 +0800 |
| commit | 3e7e533016b04df4993df66842409cf5857983ee (patch) | |
| tree | 187696f3303241177820ca65fa441655a03de257 /Timeline/Migrations/20200826164553_TimelineAddTitle.cs | |
| parent | b2404a381178e962a09af018d3c0031f1918991a (diff) | |
| parent | 7e414fb4a09e6d35fa32d48fdba38a537ffe1d23 (diff) | |
| download | timeline-3e7e533016b04df4993df66842409cf5857983ee.tar.gz timeline-3e7e533016b04df4993df66842409cf5857983ee.tar.bz2 timeline-3e7e533016b04df4993df66842409cf5857983ee.zip | |
Merge pull request #158 from crupest/dev
Develop new features of back end.
Diffstat (limited to 'Timeline/Migrations/20200826164553_TimelineAddTitle.cs')
| -rw-r--r-- | Timeline/Migrations/20200826164553_TimelineAddTitle.cs | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Timeline/Migrations/20200826164553_TimelineAddTitle.cs b/Timeline/Migrations/20200826164553_TimelineAddTitle.cs new file mode 100644 index 00000000..7e8c498b --- /dev/null +++ b/Timeline/Migrations/20200826164553_TimelineAddTitle.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore.Migrations;
+
+namespace Timeline.Migrations
+{
+ public partial class TimelineAddTitle : Migration
+ {
+ protected override void Up(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.AddColumn<string>(
+ name: "title",
+ table: "timelines",
+ nullable: true);
+ }
+
+ protected override void Down(MigrationBuilder migrationBuilder)
+ {
+ migrationBuilder.DropColumn(
+ name: "title",
+ table: "timelines");
+ }
+ }
+}
|
