aboutsummaryrefslogtreecommitdiff
path: root/src/exchangedb/0002-reserves.sql
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2023-06-27 09:46:31 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2023-06-27 09:46:31 +0200
commitf8536e8c14860d121e7b88feb9843756f144a0b7 (patch)
treec495ed7bd89b2d3edf7f70040d960415523f4f2f /src/exchangedb/0002-reserves.sql
parent145310e20e1a80d7c3a4a76a27f1e415bea7b3ce (diff)
downloadexchange-f8536e8c14860d121e7b88feb9843756f144a0b7.tar.xz
-fix parameter in stored procedures
Diffstat (limited to 'src/exchangedb/0002-reserves.sql')
-rw-r--r--src/exchangedb/0002-reserves.sql4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exchangedb/0002-reserves.sql b/src/exchangedb/0002-reserves.sql
index 6ba7f604c..3d345afd5 100644
--- a/src/exchangedb/0002-reserves.sql
+++ b/src/exchangedb/0002-reserves.sql
@@ -31,7 +31,7 @@ BEGIN
',current_balance_frac INT4 NOT NULL DEFAULT(0)'
',purses_active INT8 NOT NULL DEFAULT(0)'
',purses_allowed INT8 NOT NULL DEFAULT(0)'
- ',birthdate INT4 NOT NULL DEFAULT(0)'
+ ',birthday INT4 NOT NULL DEFAULT(0)'
',expiration_date INT8 NOT NULL'
',gc_date INT8 NOT NULL'
') %s ;'
@@ -82,7 +82,7 @@ BEGIN
);
PERFORM comment_partitioned_column(
'Birthday of the user in days after 1970, or 0 if user is an adult and is not subject to age restrictions'
- ,'birthdate'
+ ,'birthday'
,table_name
,partition_suffix
);