receipts/migrations/20250309144224_Initial.sql

10 lines
237 B
SQL

CREATE TABLE receipts (
id serial PRIMARY KEY,
date timestamp with time zone NOT NULL,
vendor varchar(99) NOT NULL,
amount decimal NOT NULL,
notes text,
filename varchar(199) NOT NULL,
image bytea NOT NULL
);