fix: remove bad DB relation

This commit is contained in:
Cfp
2025-06-22 15:22:06 +02:00
parent 1fb94a34d2
commit 6eb465d43a

View File

@ -20,8 +20,7 @@ async function setupDB() {
longitude FLOAT NOT NULL,
rating INTEGER NOT NULL CHECK (rating >= 1 AND rating <= 5),
comment TEXT,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
FOREIGN KEY (user_id) REFERENCES "user"(id)
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
`);
}