diff options
author | crupest <crupest@outlook.com> | 2020-03-12 19:44:17 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-03-12 19:44:17 +0800 |
commit | 773688b66e2c472739287bd3ccce7a5bf92a76aa (patch) | |
tree | 51cebca1a1cbd9264fed4e5d651631d059f87d74 /Timeline/Migrations/DatabaseContextModelSnapshot.cs | |
parent | 681aebb419d5799b482f9bd0fb1a2d373858b0e7 (diff) | |
download | timeline-773688b66e2c472739287bd3ccce7a5bf92a76aa.tar.gz timeline-773688b66e2c472739287bd3ccce7a5bf92a76aa.tar.bz2 timeline-773688b66e2c472739287bd3ccce7a5bf92a76aa.zip |
Add database migration.
Diffstat (limited to 'Timeline/Migrations/DatabaseContextModelSnapshot.cs')
-rw-r--r-- | Timeline/Migrations/DatabaseContextModelSnapshot.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Timeline/Migrations/DatabaseContextModelSnapshot.cs b/Timeline/Migrations/DatabaseContextModelSnapshot.cs index 8170b2f0..4b5b2fa8 100644 --- a/Timeline/Migrations/DatabaseContextModelSnapshot.cs +++ b/Timeline/Migrations/DatabaseContextModelSnapshot.cs @@ -139,6 +139,15 @@ namespace Timeline.Migrations .HasColumnName("content")
.HasColumnType("TEXT");
+ b.Property<string>("ContentType")
+ .IsRequired()
+ .HasColumnName("content_type")
+ .HasColumnType("TEXT");
+
+ b.Property<string>("ExtraContent")
+ .HasColumnName("extra_content")
+ .HasColumnType("TEXT");
+
b.Property<DateTime>("LastUpdated")
.HasColumnName("last_updated")
.HasColumnType("TEXT");
|