From e3131b37eb7d9b6284a68077a9f0d5ad9dc99f98 Mon Sep 17 00:00:00 2001 From: Masaya Tojo Date: Thu, 31 Aug 2023 00:35:36 +0900 Subject: Add table to manage transactions --- verify/transactions.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 verify/transactions.sql (limited to 'verify') diff --git a/verify/transactions.sql b/verify/transactions.sql new file mode 100644 index 0000000..1a01f6f --- /dev/null +++ b/verify/transactions.sql @@ -0,0 +1,11 @@ +-- Verify photos:transactions on pg + +BEGIN; + +SET search_path to photos; + +SELECT id, photo_id, is_income, category, amount, note, created_at, updated_at + FROM transactions + WHERE FALSE; + +ROLLBACK; -- cgit v1.2.3