Skip to content
Snippets Groups Projects
Commit 6b9a78c5 authored by Eunhak Lee's avatar Eunhak Lee
Browse files

fix: transactions 테이블에 PK 가 없음

parent faac87a0
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ CREATE TABLE relations (
);
CREATE TABLE transactions (
id CHAR(12) NOT NULL,
id CHAR(12) NOT NULL PRIMARY KEY,
user_id INTEGER NOT NULL
CONSTRAINT transaction_user_id REFERENCES "users",
combination_id INTEGER NULL
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment