Implement assignment import and clear of budget
This commit is contained in:
1 parent
6f4bff929e
commit
0b0b20c5ec
12 files changed
+249
-23
No files matched your search
@@ -0,0 +1,11 @@
|
||||
-- +goose Up
|
||||
CREATE TABLE assignments (
|
||||
id uuid DEFAULT uuid_generate_v4() PRIMARY KEY,
|
||||
category_id uuid NOT NULL REFERENCES categories (id),
|
||||
date date NOT NULL,
|
||||
memo text,
|
||||
amount decimal(12,2) NOT NULL
|
||||
);
|
||||
|
||||
-- +goose Down
|
||||
DROP TABLE assignments;
|
||||
Reference in new issue
Block a user