diff --git a/migrations/0000_init.sql b/migrations/0000_init.sql index fc53325..df24d2d 100644 --- a/migrations/0000_init.sql +++ b/migrations/0000_init.sql @@ -14,7 +14,7 @@ CREATE TABLE flow_notes ( time timestamptz NOT NULL DEFAULT current_timestamp, content TEXT NOT NULL, on_flow UUID NOT NULL, - FOREIGN KEY on_flow REFERENCES flows(id) + FOREIGN KEY(on_flow) REFERENCES flows(id) ); CREATE TABLE transactions (