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

chore: add share table

parent e2ed0a6c
Branches
No related tags found
No related merge requests found
...@@ -50,6 +50,13 @@ CREATE TABLE transactions ( ...@@ -50,6 +50,13 @@ CREATE TABLE transactions (
); );
CREATE TABLE shares (
uuid UUID NOT NULL PRIMARY KEY DEFAULT gen_random_uuid(),
combination_id INTEGER NULL
CONSTRAINT share_combination_id REFERENCES "combinations",
created_at TIMESTAMP NOT NULL DEFAULT NOW()
);
CREATE TABLE part_info_cpu ( CREATE TABLE part_info_cpu (
part_id INTEGER NOT NULL part_id INTEGER NOT NULL
CONSTRAINT cpu_part_id REFERENCES "parts", CONSTRAINT cpu_part_id REFERENCES "parts",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment