summaryrefslogtreecommitdiff
path: root/src/database/posts.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/database/posts.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database/posts.rs b/src/database/posts.rs
index fa0fd3c..832fa7c 100644
--- a/src/database/posts.rs
+++ b/src/database/posts.rs
@@ -13,7 +13,7 @@ impl Database {
CREATE TABLE IF NOT EXISTS posts (
post_id INTEGER PRIMARY KEY AUTOINCREMENT,
user_id INTEGER NOT NULL,
- content VARCHAR(500) NOT NULL,
+ content VARCHAR(5000) NOT NULL,
date INTEGER NOT NULL,
FOREIGN KEY(user_id) REFERENCES users(user_id)
);