diff options
Diffstat (limited to 'src/auditordb/auditor-0002.sql.in')
-rw-r--r-- | src/auditordb/auditor-0002.sql.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/auditordb/auditor-0002.sql.in b/src/auditordb/auditor-0002.sql.in index d662bbad8..891b61b4e 100644 --- a/src/auditordb/auditor-0002.sql.in +++ b/src/auditordb/auditor-0002.sql.in @@ -19,6 +19,14 @@ BEGIN; SELECT _v.register_patch('auditor-0002', NULL, NULL); SET search_path TO auditordb; +CREATE TYPE taler_amount + AS + (val INT8 + ,frac INT4 + ); +COMMENT ON TYPE taler_amount + IS 'Stores an amount, fraction is in units of 1/100000000 of the base value'; + #include "0002-auditor_denomination_pending.sql" #include "0002-auditor_wire_fee_balance.sql" #include "0002-auditor_balance_summary.sql" @@ -39,4 +47,4 @@ SET search_path TO auditordb; #include "0002-wire_auditor_account_progress.sql" #include "0002-wire_auditor_progress.sql" -COMMIT;
\ No newline at end of file +COMMIT; |