Fix schema

This commit is contained in:
2021-12-11 21:55:33 +00:00
parent 40a299141d
commit c3a93377d9
14 changed files with 82 additions and 86 deletions

View File

@ -0,0 +1,8 @@
-- +goose Up
CREATE TABLE user_budgets (
user_id uuid NOT NULL REFERENCES users (id) ON DELETE CASCADE,
budget_id uuid NOT NULL REFERENCES budgets (id) ON DELETE CASCADE
);
-- +goose Down
DROP TABLE user_budgets;