diff options
author | Aryadev Chavali <aryadevchavali1@gmail.com> | 2019-02-10 17:52:17 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadevchavali1@gmail.com> | 2019-02-10 17:52:17 +0000 |
commit | 20dafe9fb05448c39fe109b0231307335191459b (patch) | |
tree | 4a45d521b582fdcf982b622043e654bf09937b39 /Database | |
parent | 32248c00470ba81ae037318969304384dd17bf3a (diff) | |
download | newsaggregator-20dafe9fb05448c39fe109b0231307335191459b.tar.gz newsaggregator-20dafe9fb05448c39fe109b0231307335191459b.tar.bz2 newsaggregator-20dafe9fb05448c39fe109b0231307335191459b.zip |
Changed size of description to hold larger samples
Diffstat (limited to 'Database')
-rw-r--r-- | Database/Database.cs | 4 | ||||
-rw-r--r-- | Database/SQL/articles.sql | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Database/Database.cs b/Database/Database.cs index d2e7e32..e419aab 100644 --- a/Database/Database.cs +++ b/Database/Database.cs @@ -55,12 +55,12 @@ namespace Database { entity.Property(e => e.ArticleLink) .HasColumnName("article_link") - .HasMaxLength(64) + .HasMaxLength(128) .IsUnicode(false); entity.Property(e => e.Description) .HasColumnName("description") - .HasMaxLength(255) + .HasMaxLength(512) .IsUnicode(false); entity.Property(e => e.ImageLink) diff --git a/Database/SQL/articles.sql b/Database/SQL/articles.sql index 5f286d2..c4b02be 100644 --- a/Database/SQL/articles.sql +++ b/Database/SQL/articles.sql @@ -1,7 +1,7 @@ CREATE TABLE articles ( article_id INT NOT NULL AUTO_INCREMENT, title VARCHAR(255) UNIQUE, - description VARCHAR(255), + description VARCHAR(512), image_link VARCHAR(128), article_link VARCHAR(128), source VARCHAR(8), |