[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-donau] branch master updated: [db] added table for submitted rece
From: |
gnunet |
Subject: |
[taler-donau] branch master updated: [db] added table for submitted receipts |
Date: |
Mon, 02 Oct 2023 19:14:21 +0200 |
This is an automated email from the git hooks/post-receive script.
johannes-casaburi pushed a commit to branch master
in repository donau.
The following commit(s) were added to refs/heads/master by this push:
new d5c58f2 [db] added table for submitted receipts
d5c58f2 is described below
commit d5c58f2419e35f85334ead5d08cbc7bb2c4c9a1c
Author: Casaburi Johannes <johannes.casaburi@students.bfh.ch>
AuthorDate: Mon Oct 2 19:13:34 2023 +0200
[db] added table for submitted receipts
---
src/donaudb/0002-donau_receipts_submitted.sql | 28 +++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/src/donaudb/0002-donau_receipts_submitted.sql
b/src/donaudb/0002-donau_receipts_submitted.sql
new file mode 100644
index 0000000..863212e
--- /dev/null
+++ b/src/donaudb/0002-donau_receipts_submitted.sql
@@ -0,0 +1,28 @@
+--
+-- This file is part of TALER
+-- Copyright (C) 2014--2022 Taler Systems SA
+--
+-- TALER is free software; you can redistribute it and/or modify it under the
+-- terms of the GNU General Public License as published by the Free Software
+-- Foundation; either version 3, or (at your option) any later version.
+--
+-- TALER is distributed in the hope that it will be useful, but WITHOUT ANY
+-- WARRANTY; without even the implied warranty of CHARITYABILITY or FITNESS FOR
+-- A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+--
+-- You should have received a copy of the GNU General Public License along with
+-- TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
+--
+
+CREATE TABLE receipts_submitted
+ (receipt_id BIGINT GENERATED BY DEFAULT AS IDENTITY UNIQUE
+ ,hash_tax_number BYTEA NOT NULL
+ ,total_amount taler_amount NOT NULL
+ ,year INT8 NOT NULL
+ );
+COMMENT ON TABLE receipts_submitted
+ IS 'Table containing information of the donation receips submitted from the
donor.';
+COMMENT ON COLUMN receipts_submitted.hash_tax_number
+ IS 'The hash of the tax number and salt.';
+COMMENT ON COLUMN receipts_submitted.total_amount
+ IS 'The total amount over all donation receipts.';
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-donau] branch master updated: [db] added table for submitted receipts,
gnunet <=