aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadevchavali1@gmail.com>2019-02-08 12:00:43 +0000
committerAryadev Chavali <aryadevchavali1@gmail.com>2019-02-08 12:00:43 +0000
commitb11f73195a760d023a6f2619e14f4aa0463473a8 (patch)
tree2617a76806d3c742a703a948c1dc32238a1230e9
parent4a0d0803f8159f3d7c89f3468d64a457e7b89511 (diff)
downloadnewsaggregator-b11f73195a760d023a6f2619e14f4aa0463473a8.tar.gz
newsaggregator-b11f73195a760d023a6f2619e14f4aa0463473a8.tar.bz2
newsaggregator-b11f73195a760d023a6f2619e14f4aa0463473a8.zip
Changed source model in Database context
-rw-r--r--Database/Database.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Database/Database.cs b/Database/Database.cs
index 7db4d30..75c383f 100644
--- a/Database/Database.cs
+++ b/Database/Database.cs
@@ -98,8 +98,8 @@ namespace Database {
.HasColumnType("int(11)");
entity.Property(e => e.Source)
- .HasColumnName("source")
- .HasColumnType("int(11)");
+ .HasMaxLength(20)
+ .IsUnicode(false);
entity.Property(e => e.Title)
.HasColumnName("title")