Skip to content
Snippets Groups Projects
Commit 144e3984 authored by Charlie Darques's avatar Charlie Darques
Browse files

corrections

parent 786236e9
No related branches found
No related tags found
No related merge requests found
......@@ -17,8 +17,8 @@ CREATE TABLE msg (
);
CREATE TABLE thread (
userID_thread int,
threadID SERIAL,
userID_thread int,
threadName VARCHAR(50),
CONSTRAINT fk_thread FOREIGN KEY (userID_thread) REFERENCES userAccount(userID),
CONSTRAINT pk_thread PRIMARY KEY (threadID)
......
......@@ -16,9 +16,9 @@ INSERT INTO follow VALUES (2,1, TO_DATE('11/02/2025', 'DD/MM/YYYY')),
(1,4, TO_DATE('20/09/2025', 'DD/MM/YYYY'));
INSERT INTO msg VALUES (1, 3 , 'Bonjour !', 1),
(2, 4, 'Hello !', 1),
(3, 1, 'Mon objet était ici.', 3);
INSERT INTO msg VALUES (1, 3 , 1, 'Bonjour !'),
(2, 4, 1, 'Hello !'),
(3, 1, 3, 'Mon objet était ici.');
INSERT INTO reactions VALUES (2, 1, 'TRUE'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment