summaryrefslogtreecommitdiff
path: root/src/database/comments.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/database/comments.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/comments.rs b/src/database/comments.rs
index 5a1b39d..6faebfb 100644
--- a/src/database/comments.rs
+++ b/src/database/comments.rs
@@ -15,7 +15,7 @@ impl Database {
user_id INTEGER NOT NULL,
post_id INTEGER NOT NULL,
date INTEGER NOT NULL,
- content VARCHAR(255) NOT NULL,
+ content VARCHAR(2000) NOT NULL,
FOREIGN KEY(user_id) REFERENCES users(user_id),
FOREIGN KEY(post_id) REFERENCES posts(post_id)
);