aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Database/Database.cs4
-rw-r--r--Database/SQL/articles.sql2
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),