Files
expenses/server/migrations/20260919000000_create_transactions.sql
T
2026-09-21 20:56:03 +02:00

6 lines
191 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()
);