From b11f73195a760d023a6f2619e14f4aa0463473a8 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 8 Feb 2019 12:00:43 +0000 Subject: Changed source model in Database context --- Database/Database.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Database') 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") -- cgit v1.2.3-13-gbd6f