Open matteo-stat opened 1 month ago
the current SQL example script in the doc that creates the "feedbacks" table looks like this
CREATE TABLE IF NOT EXISTS feedbacks (
"id" UUID PRIMARY KEY,
"forId" UUID NOT NULL,
"value" INT NOT NULL,
"comment" TEXT
);
the updated SQL code that creates "feedbacks" table with the required "threadId" column and will fix the error above looks like this
CREATE TABLE IF NOT EXISTS feedbacks (
"id" UUID PRIMARY KEY,
"forId" UUID NOT NULL,
"threadId" UUID NOT NULL,
"value" INT NOT NULL,
"comment" TEXT
);
maybe just updating the documentation page with this SQL code will fix the issue 😄
I had the same problem!
Describe the bug The current example SQL script in the documentation that creates all the tables for the SQL alchemy data layer it's missing the ""threadId" column in the "feedbacks" table
To Reproduce Steps to reproduce the behavior:
Expected behavior The feedback should be saved
Desktop (please complete the following information):
Additional context I fixed the problem updating the SQL example script, that i'll post below