From 438a85fd3a2ea8dd4fa48df5537c1db2c0e90878 Mon Sep 17 00:00:00 2001 From: Masaya Tojo Date: Tue, 28 Feb 2023 22:20:46 +0900 Subject: Add function to delete item. --- deploy/insert_item.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'deploy/insert_item.sql') diff --git a/deploy/insert_item.sql b/deploy/insert_item.sql index a0a5b5c..7f62e14 100644 --- a/deploy/insert_item.sql +++ b/deploy/insert_item.sql @@ -4,8 +4,8 @@ BEGIN; -CREATE OR REPLACE FUNCTION kakeibo.insert_transaction( - p_transaction_id INTEER, +CREATE OR REPLACE FUNCTION kakeibo.insert_item( + p_transaction_id INTEGER, p_category TEXT, p_subcategory TEXT, p_amount INTEGER, -- cgit v1.2.3