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 | 054b6237b902c7f7be08afe1229ab9cd84b99469 (patch) | |
tree | 51cebca1a1cbd9264fed4e5d651631d059f87d74 /Timeline/Migrations/DatabaseContextModelSnapshot.cs | |
parent | dfe715cec705c31b87f808b09c9fa1cb61e6583e (diff) | |
download | timeline-054b6237b902c7f7be08afe1229ab9cd84b99469.tar.gz timeline-054b6237b902c7f7be08afe1229ab9cd84b99469.tar.bz2 timeline-054b6237b902c7f7be08afe1229ab9cd84b99469.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");
|