feat: ✨ post and comment length limit
fix: 🚑 user extraction from url
This commit is contained in:
parent
6d3b6a4e79
commit
11f101638e
13 changed files with 185 additions and 104 deletions
|
@ -6,3 +6,8 @@ CREATE TABLE IF NOT EXISTS "user_contact"(
|
|||
PRIMARY KEY (user_id, contact_id),
|
||||
UNIQUE (contact_id, contact_value)
|
||||
);
|
||||
|
||||
INSERT INTO "user_contact"(user_id, contact_id, contact_value)
|
||||
VALUES (0, 0, 'builder@rust_forum.com')
|
||||
ON CONFLICT(user_id, contact_id) DO UPDATE SET
|
||||
"contact_value" = 'builder@rust_forum.com';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue