aboutsummaryrefslogtreecommitdiff
path: root/src/auditordb/0002-auditor_balances.sql
diff options
context:
space:
mode:
Diffstat (limited to 'src/auditordb/0002-auditor_balances.sql')
-rw-r--r--src/auditordb/0002-auditor_balances.sql5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/auditordb/0002-auditor_balances.sql b/src/auditordb/0002-auditor_balances.sql
index 5a25a0e2a..a52edbcd0 100644
--- a/src/auditordb/0002-auditor_balances.sql
+++ b/src/auditordb/0002-auditor_balances.sql
@@ -17,9 +17,8 @@
SET search_path TO auditor;
CREATE TABLE IF NOT EXISTS auditor_balances
(
- balance_key TEXT
- ,balance_value taler_amount
- ,PRIMARY KEY (balance_key)
+ balance_key TEXT PRIMARY KEY NOT NULL
+ ,balance_value taler_amount
);
COMMENT
ON TABLE auditor_balances