10 lines
204 B
MySQL
10 lines
204 B
MySQL
|
-- name: AddFollowUser :exec
|
||
|
INSERT INTO user_follow (
|
||
|
follower_id,
|
||
|
followee_id
|
||
|
) VALUES($1, $2);
|
||
|
|
||
|
-- name: RemoveFollowUser :exec
|
||
|
DELETE FROM
|
||
|
user_follow
|
||
|
WHERE follower_id = $1 AND followee_id = $2;
|