summaryrefslogtreecommitdiff
path: root/src/database/comments.rs
diff options
context:
space:
mode:
authorTyler Murphy <tylerm@tylerm.dev>2023-09-24 00:47:22 -0400
committerTyler Murphy <tylerm@tylerm.dev>2023-09-24 00:47:22 -0400
commitbe461e9c2a7534134e7f682427f584bc22a558f9 (patch)
treee7d42bfe41e15e3cfc07f0ab553aed42fd72e2b1 /src/database/comments.rs
parentMerge pull request 'dms are cool' (#1) from dev into main (diff)
downloadxssbook-be461e9c2a7534134e7f682427f584bc22a558f9.tar.gz
xssbook-be461e9c2a7534134e7f682427f584bc22a558f9.tar.bz2
xssbook-be461e9c2a7534134e7f682427f584bc22a558f9.zip
thiccer
Diffstat (limited to 'src/database/comments.rs')
-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)
);