Skip to content

Commit 4eb1abd

Browse files
committed
Adjusted schema name
1 parent 724efe4 commit 4eb1abd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/schema/believability.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CREATE TABLE believability (
22
id SERIAL PRIMARY KEY, -- Unique identifier for each believability rating
33
theory_id INT NOT NULL, -- Foreign key referencing the associated theory
4-
user VARCHAR(100) NOT NULL, -- Name of the user giving the rating
4+
submitter VARCHAR(100) NOT NULL, -- Name of the user giving the rating
55
believability_score INT CHECK (believability_score >= 1 AND believability_score <= 10), -- Believability score (1-10 scale)
66
FOREIGN KEY (theory_id) REFERENCES theories(theory_id) ON DELETE CASCADE
77
);

0 commit comments

Comments
 (0)