diff options
author | Tyler Murphy <tylerm@tylerm.dev> | 2023-09-24 00:47:22 -0400 |
---|---|---|
committer | Tyler Murphy <tylerm@tylerm.dev> | 2023-09-24 00:47:22 -0400 |
commit | be461e9c2a7534134e7f682427f584bc22a558f9 (patch) | |
tree | e7d42bfe41e15e3cfc07f0ab553aed42fd72e2b1 /src/database/posts.rs | |
parent | Merge pull request 'dms are cool' (#1) from dev into main (diff) | |
download | xssbook-be461e9c2a7534134e7f682427f584bc22a558f9.tar.gz xssbook-be461e9c2a7534134e7f682427f584bc22a558f9.tar.bz2 xssbook-be461e9c2a7534134e7f682427f584bc22a558f9.zip |
thiccer
Diffstat (limited to 'src/database/posts.rs')
-rw-r--r-- | src/database/posts.rs | 2 |
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) ); |