Answer the question
In order to leave comments, you need to log in
Can't write to MySQL database?
I have a table that has the following columns: receiver_id , author_id , article_id and liked. There is no id column.
The following unique index is worth: receiver_id, author_id, article_id, liked.
When I make a request like this:
INSERT INTO likes (receiver_id, author_id, article_id, liked) VALUES (412, 13, 23, 1)
INSERT INTO likes (receiver_id, author_id, article_id, liked) VALUES (412, 13, 24, 1)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question