6 lines
190 B
SQL
6 lines
190 B
SQL
CREATE TABLE transactions (
|
|
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
|
|
description TEXT NOT NULL,
|
|
amount_cents BIGINT NOT NULL,
|
|
date TIMESTAMPTZ NOT NULL DEFAULT now()
|
|
); |