Add run target
This commit is contained in:
11
postgres/schema/0005_transactions.sql
Normal file
11
postgres/schema/0005_transactions.sql
Normal file
@ -0,0 +1,11 @@
|
||||
-- +goose Up
|
||||
CREATE TABLE transactions (
|
||||
id uuid DEFAULT uuid_generate_v4() NOT NULL,
|
||||
budget_id uuid NOT NULL,
|
||||
date date NOT NULL,
|
||||
memo text NULL,
|
||||
amount decimal(12,2) NOT NULL
|
||||
);
|
||||
|
||||
-- +goose Down
|
||||
DROP TABLE transactions;
|
Reference in New Issue
Block a user